Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HexEx
libHexEx
Commits
a98a148d
Commit
a98a148d
authored
Aug 12, 2019
by
Heng Liu
Browse files
add target_include_property
parent
fdb6bca3
Pipeline
#11692
passed with stage
in 6 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a98a148d
...
...
@@ -59,8 +59,8 @@ link_directories (${CMAKE_BINARY_DIR} ${LIBRARY_DIRS} )
add_library
(
HexEx SHARED
${
SOURCES
}
)
add_library
(
HexExStatic STATIC
${
SOURCES
}
)
target_link_libraries
(
HexEx
${
LIBRARIES
}
)
target_link_libraries
(
HexExStatic
${
LIBRARIES
}
)
target_link_libraries
(
HexEx
${
LIBRARIES
}
OpenVolumeMesh
)
target_link_libraries
(
HexExStatic
${
LIBRARIES
}
OpenVolumeMesh
)
#
# In order for the exact predicates to work the compiler
...
...
@@ -108,6 +108,12 @@ set_target_properties (HexEx
CXX_STANDARD 11
)
target_include_directories
(
HexEx
INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src>
$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>
)
set_target_properties
(
HexExStatic
PROPERTIES
COMPILE_FLAGS
"
${
HEXEX_COMPILE_FLAGS
}
"
...
...
Write
Preview
Supports
Markdown
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