Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
protobuf-c
Commits
32f0a781
Unverified
Commit
32f0a781
authored
Feb 18, 2021
by
Robert Edmonds
Committed by
GitHub
Feb 18, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #456 from ppietrasa/master
Install debug symbols alongside the protobuf-c.lib
parents
94532c7a
f53a8c98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
build-cmake/CMakeLists.txt
build-cmake/CMakeLists.txt
+2
-0
No files found.
build-cmake/CMakeLists.txt
View file @
32f0a781
...
...
@@ -44,6 +44,7 @@ SET (PC_SOURCES
${
MAIN_DIR
}
/protobuf-c/protobuf-c.h
)
ADD_LIBRARY
(
protobuf-c
${
PC_SOURCES
}
)
set_target_properties
(
protobuf-c PROPERTIES COMPILE_PDB_NAME protobuf-c
)
INCLUDE_DIRECTORIES
(
${
MAIN_DIR
}
)
INCLUDE_DIRECTORIES
(
${
MAIN_DIR
}
/protobuf-c
)
...
...
@@ -163,6 +164,7 @@ ENDIF() # BUILD_PROTOC
INSTALL
(
TARGETS protobuf-c LIBRARY DESTINATION lib ARCHIVE DESTINATION lib
)
INSTALL
(
FILES
${
MAIN_DIR
}
/protobuf-c/protobuf-c.h DESTINATION include/protobuf-c
)
INSTALL
(
FILES
${
MAIN_DIR
}
/protobuf-c/protobuf-c.h DESTINATION include
)
INSTALL
(
FILES
${
CMAKE_BINARY_DIR
}
/protobuf-c.pdb DESTINATION lib OPTIONAL
)
IF
(
CMAKE_HOST_UNIX
)
INSTALL
(
CODE
"EXECUTE_PROCESS (COMMAND ln -sf protoc-gen-c protoc-c WORKING_DIRECTORY
${
CMAKE_INSTALL_PREFIX
}
/bin)"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment