Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
steinbac
compass-github-pull
Commits
57cdfdbe
Commit
57cdfdbe
authored
Apr 13, 2018
by
steinbac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added diagnostic messages
parent
62e66754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
tests/CMakeLists.txt
tests/CMakeLists.txt
+7
-2
No files found.
tests/CMakeLists.txt
View file @
57cdfdbe
...
...
@@ -26,14 +26,19 @@ add_executable(test_bitview test_bitview.cpp $<TARGET_OBJECTS:catcho>)
target_include_directories
(
test_bitview PRIVATE
${
CATCH2_HEADER_PATH
}
${
COMPASS_INCLUDE_BUILD_DIR
}
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
)
if
(
NOT
"
${
COMPILES_WITH_NO_EXTRAL
}
"
)
message
(
STATUS
"detected malacious support of libc++/libstdc++"
)
if
(
NOT COMPILES_WITH_NO_EXTRAL
)
if
(
${
COMPILES_WITH_LIBCXX
}
)
message
(
STATUS
"adding c++ c++abi to test binary dependencies"
)
target_link_libraries
(
test_compass_impl c++ c++abi
)
target_link_libraries
(
test_bitview c++ c++abi
)
else
()
if
(
${
COMPILES_WITH_LIBSTDCXX
}
)
message
(
STATUS
"adding stdc++ to test binary dependencies"
)
target_link_libraries
(
test_compass_impl stdc++
)
target_link_libraries
(
test_bitview stdc++
)
endif
()
...
...
@@ -56,7 +61,7 @@ if(${CURRENT_HOSTNAME} MATCHES ".*(falcon2|talisker|schorle|scicomp-pc-3|recover
add_executable
(
test_compass_sizes test_compass_sizes.cpp $<TARGET_OBJECTS:catcho>
)
target_include_directories
(
test_compass_sizes PRIVATE
${
CATCH2_HEADER_PATH
}
${
COMPASS_INCLUDE_BUILD_DIR
}
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
AND NOT COMPILES_WITH_NO_EXTRAL
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
AND NOT
"
${
COMPILES_WITH_NO_EXTRAL
}
"
)
if
(
${
COMPILES_WITH_LIBCXX
}
)
target_link_libraries
(
test_compass_sizes c++ c++abi
)
target_link_libraries
(
test_machine c++ c++abi
)
...
...
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