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 654359e commit a224af4Copy full SHA for a224af4
CMakeLists.txt
@@ -373,10 +373,13 @@ endif()
373
option(CPPINTEROP_INCLUDE_DOCS "Generate build targets for the CppInterOp docs.")
374
option(CPPINTEROP_ENABLE_DOXYGEN "Use doxygen to generate CppInterOp interal API documentation.")
375
option(CPPINTEROP_ENABLE_SPHINX "Use sphinx to generage CppInterOp user documentation")
376
+option(CPPINTEROP_ENABLE_TESTING "Enables the testing infrastructure." ON)
377
378
if (CPPINTEROP_INCLUDE_DOCS)
379
add_subdirectory(docs)
380
endif()
381
382
add_subdirectory(lib)
-add_subdirectory(unittests)
383
+if (CPPINTEROP_ENABLE_TESTING)
384
+ add_subdirectory(unittests)
385
+endif(CPPINTEROP_ENABLE_TESTING)
0 commit comments