We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0fb88 commit a9ecbc8Copy full SHA for a9ecbc8
CMakeLists.txt
@@ -24,6 +24,7 @@ target_link_libraries(boost_parser
24
25
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
26
27
+ set(disable_check_target true)
28
add_subdirectory(test)
29
30
endif()
test/CMakeLists.txt
@@ -4,7 +4,9 @@ include(CTest)
4
5
enable_testing()
6
7
-add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -j4 -C ${CMAKE_CFG_INTDIR})
+if (NOT DEFINED disable_check_target)
8
+ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -j4 -C ${CMAKE_CFG_INTDIR})
9
+endif()
10
11
##################################################
12
# Parser tests
0 commit comments