Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
6b7723eb
Unverified
Commit
6b7723eb
authored
May 25, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake file can now build unit-test
parent
7056c153
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
6b7723eb
...
@@ -102,7 +102,7 @@ configure_file(libcifpp.pc.in ${CMAKE_BINARY_DIR}/libcifpp.pc IMMEDIATE @ONLY)
...
@@ -102,7 +102,7 @@ configure_file(libcifpp.pc.in ${CMAKE_BINARY_DIR}/libcifpp.pc IMMEDIATE @ONLY)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/libcifpp.pc DESTINATION
${
LIB_INSTALL_DIR
}
/pkgconfig
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/libcifpp.pc DESTINATION
${
LIB_INSTALL_DIR
}
/pkgconfig
)
configure_file
(
${
PROJECT_SOURCE_DIR
}
/src/Config.hpp.in Config.hpp
)
configure_file
(
${
PROJECT_SOURCE_DIR
}
/src/Config.hpp.in Config.hpp
)
target_include_directories
(
${
PROJECT_NAME
}
PUBLIC
"
${
PROJECT_BINARY_DIR
}
"
)
include_directories
(
PUBLIC
"
${
PROJECT_BINARY_DIR
}
"
)
# install(FILES ${CMAKE_BINARY_DIR}/Config.hpp DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME})
# install(FILES ${CMAKE_BINARY_DIR}/Config.hpp DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME})
if
(
Boost_FOUND
)
if
(
Boost_FOUND
)
...
@@ -130,7 +130,7 @@ target_compile_definitions(${PROJECT_NAME}
...
@@ -130,7 +130,7 @@ target_compile_definitions(${PROJECT_NAME}
target_compile_definitions
(
unit-test
target_compile_definitions
(
unit-test
PUBLIC
""
CACHE_DIR=
"
${
SHARE_INSTALL_DIR
}
/libcifpp"
DATA_DIR=
"
${
SHARE_INSTALL_DIR
}
/libcifpp"
)
PUBLIC
""
CACHE_DIR=
"
${
SHARE_INSTALL_DIR
}
/libcifpp"
DATA_DIR=
"
${
SHARE_INSTALL_DIR
}
/libcifpp"
)
target_link_libraries
(
unit-test
${
PROJECT_NAME
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
unit-test
${
PROJECT_NAME
}
${
Boost_LIBRARIES
}
z bz2 Threads::Threads
)
if
(
MSVC
)
if
(
MSVC
)
# make msvc standards compliant...
# make msvc standards compliant...
...
...
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