--- libjson-c/CMakeLists.txt +++ libjson-c/CMakeLists.txt @@ -449,7 +449,7 @@ include_directories(${PROJECT_SOURCE_DIR}) include_directories(${PROJECT_BINARY_DIR}) -add_subdirectory(doc) +#add_subdirectory(doc) # "uninstall" custom target for make generators in unix like operating systems # and if that target is not present @@ -573,15 +573,15 @@ install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/json-c) -if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND - (NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013 - ) -add_subdirectory(tests) -endif() +#if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND +# (NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013 +# ) +#add_subdirectory(tests) +#endif() if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_APPS) # skip apps when we're included in someone else's build -if (NOT MSVC) # cmd line apps don't built on Windows currently. -add_subdirectory(apps) -endif() +#if (NOT MSVC) # cmd line apps don't built on Windows currently. +#add_subdirectory(apps) +#endif() endif()