1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

windoof dll export is not as easy as it should!

This commit is contained in:
ClausKlein 2021-02-15 19:50:26 +01:00
parent ab83f20c29
commit ae2d022801
2 changed files with 3 additions and 2 deletions

View file

@ -54,7 +54,7 @@ if(NOT TEST_INSTALLED_VERSION)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(Greeter PUBLIC -Wall -Wpedantic -Wextra -Werror)
elseif(MSVC)
# XXX target_compile_options(Greeter PUBLIC /W4 /WX)
target_compile_options(Greeter PUBLIC /W4 /WX)
target_compile_definitions(GreeterTests PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS)
endif()
endif()