Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
6ba82db0
Commit
6ba82db0
authored
Aug 16, 2021
by
Pascal Palenda
Browse files
Update test handling in main CMakeFile
parent
95509630
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6ba82db0
...
...
@@ -32,6 +32,7 @@ option (
"Build with old ITAOps helper functions implementation (legacy code for RAVEN compatibility, adds GPL-licensed libs!)"
OFF
)
option
(
ITA_BASE_WITH_TESTS
"Build the tests for the library"
OFF
)
add_subdirectory
(
external_libs
)
...
...
@@ -99,7 +100,7 @@ packageProject (
)
# tests
if
(
ITA_
CORE_LIBS
_WITH_TESTS
)
if
(
ITA_
BASE
_WITH_TESTS
)
set
(
ITABASE_COMMON_BUILD TRUE
)
add_subdirectory
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
tests
"
)
add_subdirectory
(
tests
)
endif
()
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