Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coal
coal
Commits
46edbc84
Commit
46edbc84
authored
9 years ago
by
Jeongseok Lee
Browse files
Options
Downloads
Plain Diff
Merge pull request #59 from dartsim/list_headers
List headers in add_library for IDEs
parents
26d2973e
567d0798
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/fcl/CMakeLists.txt
+4
-0
4 additions, 0 deletions
include/fcl/CMakeLists.txt
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
with
6 additions
and
2 deletions
include/fcl/CMakeLists.txt
+
4
−
0
View file @
46edbc84
file
(
GLOB_RECURSE HEADERS
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.h
)
file
(
GLOB_RECURSE CONFIGURED_HEADERS
${
CMAKE_CURRENT_BINARY_DIR
}
/*.h
)
set
(
FCL_HEADERS
${
HEADERS
}
${
CONFIGURED_HEADERS
}
PARENT_SCOPE
)
file
(
TO_NATIVE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
FCL_CONFIG_IN_DIR
)
file
(
TO_NATIVE_PATH
"
${
CMAKE_CURRENT_BINARY_DIR
}
"
FCL_CONFIG_OUT_DIR
)
configure_file
(
"
${
FCL_CONFIG_IN_DIR
}
/config.h.in"
"
${
FCL_CONFIG_OUT_DIR
}
/config.h"
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
2
−
2
View file @
46edbc84
file
(
GLOB_RECURSE FCL_SOURCE_CODE
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.cpp
)
if
(
FCL_STATIC_LIBRARY
)
add_library
(
${
PROJECT_NAME
}
STATIC
${
FCL_SOURCE_CODE
}
)
add_library
(
${
PROJECT_NAME
}
STATIC
${
FCL_HEADERS
}
${
FCL_SOURCE_CODE
}
)
else
()
add_library
(
${
PROJECT_NAME
}
SHARED
${
FCL_SOURCE_CODE
}
)
add_library
(
${
PROJECT_NAME
}
SHARED
${
FCL_HEADERS
}
${
FCL_SOURCE_CODE
}
)
endif
()
target_link_libraries
(
${
PROJECT_NAME
}
${
CCD_LIBRARIES
}
${
OCTOMAP_LIBRARIES
}
${
Boost_LIBRARIES
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment