quick test

This commit is contained in:
Andrew Cassidy 2021-02-13 20:03:02 -08:00
parent 4812070f9d
commit 83c1ee8a90

View File

@ -56,7 +56,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
execute_process(COMMAND echo "#include <cstdint>\nint main () {}" | clang-9 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION)
execute_process(COMMAND printf "#include <cstdint>\nint main () {}" | clang-9 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION)
target_compile_options(test_rgbcx PUBLIC ${PROJECT_WARNINGS})
endif()
set(CMAKE_CXX_FLAGS_DEBUG "-g")