Github actions for MSVC

This commit is contained in:
John Wellbelove 2020-08-16 19:06:56 +01:00
parent 9920093681
commit 2c10a814e9

View File

@ -28,7 +28,6 @@ set(TEST_SOURCE_FILES
test_array.cpp
test_array_view.cpp
test_array_wrapper.cpp
test_atomic_gcc_sync.cpp
test_atomic_std.cpp
test_binary.cpp
test_bitset.cpp
@ -172,10 +171,10 @@ set(TEST_SOURCE_FILES
test_xor_rotate_checksum.cpp
)
#if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
# list(APPEND TEST_SOURCE_FILES "test_atomic_gcc_sync.cpp")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
#endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
list(APPEND TEST_SOURCE_FILES "test_atomic_gcc_sync.cpp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
endif()
add_executable(etl_tests
${TEST_SOURCE_FILES}
)