Fix a few other misc test related things
This commit is contained in:
1 parent
89df55c577
commit
20cc197967
3 files changed
+13
No files matched your search
@@ -90,3 +90,5 @@ examples/wsperf/wsperf_client
|
|||||||
install
|
install
|
||||||
Makefile
|
Makefile
|
||||||
bin
|
bin
|
||||||
|
|
||||||
|
Testing/Temporary/CTestCostData.txt
|
||||||
@@ -192,6 +192,10 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
|
|||||||
set (Boost_USE_STATIC_LIBS TRUE)
|
set (Boost_USE_STATIC_LIBS TRUE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (NOT Boost_USE_STATIC_LIBS)
|
||||||
|
add_definitions (/DBOOST_TEST_DYN_LINK)
|
||||||
|
endif ()
|
||||||
|
|
||||||
set (Boost_FIND_REQUIRED TRUE)
|
set (Boost_FIND_REQUIRED TRUE)
|
||||||
set (Boost_FIND_QUIETLY TRUE)
|
set (Boost_FIND_QUIETLY TRUE)
|
||||||
set (Boost_DEBUG FALSE)
|
set (Boost_DEBUG FALSE)
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ macro (print_used_build_config)
|
|||||||
message (STATUS "WEBSOCKETPP_PLATFORM_LIBS = ${WEBSOCKETPP_PLATFORM_LIBS}")
|
message (STATUS "WEBSOCKETPP_PLATFORM_LIBS = ${WEBSOCKETPP_PLATFORM_LIBS}")
|
||||||
message (STATUS "WEBSOCKETPP_PLATFORM_TLS_LIBS = ${WEBSOCKETPP_PLATFORM_TLS_LIBS}")
|
message (STATUS "WEBSOCKETPP_PLATFORM_TLS_LIBS = ${WEBSOCKETPP_PLATFORM_TLS_LIBS}")
|
||||||
message ("")
|
message ("")
|
||||||
|
message (STATUS "OPENSSL_FOUND = ${OPENSSL_FOUND}")
|
||||||
|
message (STATUS "OPENSSL_INCLUDE_DIR = ${OPENSSL_INCLUDE_DIR}")
|
||||||
|
message (STATUS "OPENSSL_LIBRARIES = ${OPENSSL_LIBRARIES}")
|
||||||
|
message (STATUS "OPENSSL_VERSION = ${OPENSSL_VERSION}")
|
||||||
|
message ("")
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
# Adds the given folder_name into the source files of the current project.
|
# Adds the given folder_name into the source files of the current project.
|
||||||
@@ -49,6 +54,8 @@ macro (build_executable TARGET_NAME)
|
|||||||
|
|
||||||
include_directories (${WEBSOCKETPP_ROOT} ${WEBSOCKETPP_INCLUDE})
|
include_directories (${WEBSOCKETPP_ROOT} ${WEBSOCKETPP_INCLUDE})
|
||||||
|
|
||||||
|
target_link_libraries(${TARGET_NAME} ${WEBSOCKETPP_PLATFORM_LIBS})
|
||||||
|
|
||||||
set_target_properties (${TARGET_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${WEBSOCKETPP_BIN})
|
set_target_properties (${TARGET_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${WEBSOCKETPP_BIN})
|
||||||
set_target_properties (${TARGET_NAME} PROPERTIES DEBUG_POSTFIX d)
|
set_target_properties (${TARGET_NAME} PROPERTIES DEBUG_POSTFIX d)
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|||||||
Reference in new issue
Block a user