Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
TurTLE
TurTLE
Commits
23351906
Commit
23351906
authored
6 years ago
by
Berenger Bramas
Browse files
Options
Downloads
Patches
Plain Diff
Keep hierarchy in installed headers
parent
103238aa
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!23
WIP: Feature/use cmake
Pipeline
#45052
canceled
6 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-6
4 additions, 6 deletions
CMakeLists.txt
with
4 additions
and
6 deletions
CMakeLists.txt
+
4
−
6
View file @
23351906
...
@@ -97,20 +97,18 @@ get_property(ALL_LINK_DIRS DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY LINK_D
...
@@ -97,20 +97,18 @@ get_property(ALL_LINK_DIRS DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY LINK_D
#####################################################################################
#####################################################################################
## Build the lib
## Build the lib
include_directories
(
include_directories
(
${
PROJECT_SOURCE_DIR
}
/bfps/cpp
)
${
PROJECT_SOURCE_DIR
}
/bfps/cpp
)
file
(
GLOB_RECURSE cpp_for_lib
${
PROJECT_SOURCE_DIR
}
/bfps/*.cpp
)
file
(
GLOB_RECURSE cpp_for_lib
${
PROJECT_SOURCE_DIR
}
/bfps/*.cpp
)
file
(
GLOB_RECURSE hpp_for_lib
${
PROJECT_SOURCE_DIR
}
/bfps/*.hpp
)
file
(
GLOB_RECURSE hpp_for_lib
${
PROJECT_SOURCE_DIR
}
/bfps/*.hpp
)
LIST
(
APPEND source_files
${
cpp_for_lib
}
)
LIST
(
APPEND source_files
${
hpp_for_lib
}
${
cpp_for_lib
}
)
add_library
(
bfps
${
source_files
}
)
add_library
(
bfps
${
source_files
}
)
target_link_libraries
(
bfps
${
BFPS_LIBS
}
)
target_link_libraries
(
bfps
${
BFPS_LIBS
}
)
set_target_properties
(
bfps PROPERTIES PUBLIC_HEADER
"
${
hpp_for_lib
}
"
)
install
(
TARGETS bfps EXPORT BFPS_EXPORT DESTINATION lib/ PUBLIC_HEADER DESTINATION include/bfps
)
install
(
TARGETS bfps EXPORT BFPS_EXPORT DESTINATION lib/
)
install
(
DIRECTORY
${
PROJECT_SOURCE_DIR
}
/bfps/cpp DESTINATION include/ FILES_MATCHING PATTERN
"*.h*"
)
#####################################################################################
#####################################################################################
## Export the configuration
## Export the configuration
...
...
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