mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Workaround Windows slowness
This commit is contained in:
parent
3e75ad9822
commit
ec0cdc46f6
@ -165,8 +165,11 @@ if (FMT_PEDANTIC)
|
|||||||
"-DCXX_STANDARD_FLAG=${CXX_STANDARD_FLAG}"
|
"-DCXX_STANDARD_FLAG=${CXX_STANDARD_FLAG}"
|
||||||
"-DPEDANTIC_COMPILE_FLAGS=${PEDANTIC_COMPILE_FLAGS}"
|
"-DPEDANTIC_COMPILE_FLAGS=${PEDANTIC_COMPILE_FLAGS}"
|
||||||
"-DSUPPORTS_USER_DEFINED_LITERALS=${SUPPORTS_USER_DEFINED_LITERALS}")
|
"-DSUPPORTS_USER_DEFINED_LITERALS=${SUPPORTS_USER_DEFINED_LITERALS}")
|
||||||
|
endif ()
|
||||||
|
|
||||||
# test if the targets are findable from the build directory
|
# These tests are disabled on Windows because they take too long.
|
||||||
|
if (FMT_PEDANTIC AND NOT WIN32)
|
||||||
|
# Test if the targets are found from the build directory.
|
||||||
add_test(find-package-test ${CMAKE_CTEST_COMMAND}
|
add_test(find-package-test ${CMAKE_CTEST_COMMAND}
|
||||||
-C ${CMAKE_BUILD_TYPE}
|
-C ${CMAKE_BUILD_TYPE}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
@ -181,7 +184,7 @@ if (FMT_PEDANTIC)
|
|||||||
"-DPEDANTIC_COMPILE_FLAGS=${PEDANTIC_COMPILE_FLAGS}"
|
"-DPEDANTIC_COMPILE_FLAGS=${PEDANTIC_COMPILE_FLAGS}"
|
||||||
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
||||||
|
|
||||||
# test if the targets are findable when add_subdirectory is used
|
# Test if the targets are found when add_subdirectory is used.
|
||||||
add_test(add-subdirectory-test ${CMAKE_CTEST_COMMAND}
|
add_test(add-subdirectory-test ${CMAKE_CTEST_COMMAND}
|
||||||
-C ${CMAKE_BUILD_TYPE}
|
-C ${CMAKE_BUILD_TYPE}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
|
Loading…
Reference in New Issue
Block a user