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 c6d710b commit b04f64eCopy full SHA for b04f64e
CMakeLists.txt
@@ -21,20 +21,15 @@ include(cmake/simdjson-user-cmakecache.cmake)
21
22
if(SIMDJSON_JUST_LIBRARY)
23
message( STATUS "Building just the library, omitting all tests, tools and benchmarks." )
24
-endif()
25
-
26
-#
27
-# Set up test data
28
29
-if(NOT(SIMDJSON_JUST_LIBRARY))
+else(SIMDJSON_JUST_LIBRARY)
+ # Setup tests
30
enable_testing()
31
add_subdirectory(jsonchecker)
32
add_subdirectory(jsonexamples)
33
add_library(test-data INTERFACE)
34
target_link_libraries(test-data INTERFACE jsonchecker-data jsonchecker-minefield-data jsonexamples-data)
35
+endif(SIMDJSON_JUST_LIBRARY)
36
37
38
# Create the top level simdjson library (must be done at this level to use both src/ and include/
39
# directories) and tools
40
#
0 commit comments