mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
dEfine DOCTEST_CONFIG_USE_STD_HEADERS
globally
This commit is contained in:
parent
696f83de8e
commit
27bdaa3f3e
2 changed files with 1 additions and 4 deletions
|
@ -48,6 +48,7 @@ if (NOT TEST_INSTALLED_VERSION)
|
|||
target_compile_options(Greeter PUBLIC -Wall -pedantic -Wextra -Werror)
|
||||
elseif(MSVC)
|
||||
target_compile_options(Greeter PUBLIC /W4 /WX)
|
||||
target_compile_definitions(GreeterTests PUBLIC DOCTEST_CONFIG_USE_STD_HEADERS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
#if defined(_WIN32) || defined(WIN32)
|
||||
# define DOCTEST_CONFIG_USE_STD_HEADERS
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
#include <greeter.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue