Commit 57cdfdbe authored by steinbac's avatar steinbac

added diagnostic messages

parent 62e66754
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment