mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:19:06 +08:00
b49b2bdf22
* cppcms * cudnn * devicenameresolver * epsilon * fann * cudnn license * devicenameresolver version * epsilon * version * Remove from ci baseline * license * version * libbf * version * Why are those ports unsupported on static? I think because of failing post build lint * version * cppcms * version * epsilon * version * typo * version * test on static * version * cppcms not supported on static * version * cudnn * device * version * try again... * version * version-date * version * [cppcms] Patch out tests & examples * version * Fix patch * version * remove debug include * version * [cppcms] copy pdbs * version
59 lines
1.4 KiB
Diff
59 lines
1.4 KiB
Diff
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()
|
|
|