diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ce0d53..5b432c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -685,9 +685,10 @@ if(NOT DISABLE_SHARED) endif(NOT DISABLE_SHARED) - +if(FALSE) add_executable(hello_world src/hello_world.cpp skin1.cpp skin2.cpp) target_link_libraries(hello_world ${CPPCMS_LIB}) +endif() if(NOT DISABLE_TCPCACHE) add_executable(cppcms_scale src/cache_server_main.cpp) @@ -710,7 +711,7 @@ endif(DISABLE_SHARED) ######################################### # Tests ######################################### - +if(FALSE) set(ALL_TESTS form_test proto_test @@ -775,14 +776,14 @@ set(ALL_TESTS ${ALL_TESTS} external_session_test) if(NOT DISABLE_GZIP) target_link_libraries(response_test ${ZLIB}) endif() - +endif() ##################################### # End of tests ##################################### # These are use export if(IS_WINDOWS AND NOT DISABLE_SHARED) - set_target_properties(${ALL_TESTS} hello_world cppcms PROPERTIES + set_target_properties(${ALL_TESTS} cppcms PROPERTIES COMPILE_DEFINITIONS DLL_EXPORT) endif() @@ -830,7 +831,7 @@ install(DIRECTORY cppcms DESTINATION include ############# - +if(FALSE) set(CNF "${CMAKE_CURRENT_SOURCE_DIR}/tests") add_test(base64_test base64_test) @@ -1103,5 +1104,5 @@ if(NOT IS_WINDOWS) PROPERTIES TIMEOUT 120) endif() - +endif()