Fix a few other misc test related things
This commit is contained in:
@@ -90,3 +90,5 @@ examples/wsperf/wsperf_client
|
||||
install
|
||||
Makefile
|
||||
bin
|
||||
|
||||
Testing/Temporary/CTestCostData.txt
|
||||
|
||||
@@ -192,6 +192,10 @@ if (BUILD_TESTS OR BUILD_EXAMPLES)
|
||||
set (Boost_USE_STATIC_LIBS TRUE)
|
||||
endif ()
|
||||
|
||||
if (NOT Boost_USE_STATIC_LIBS)
|
||||
add_definitions (/DBOOST_TEST_DYN_LINK)
|
||||
endif ()
|
||||
|
||||
set (Boost_FIND_REQUIRED TRUE)
|
||||
set (Boost_FIND_QUIETLY TRUE)
|
||||
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_TLS_LIBS = ${WEBSOCKETPP_PLATFORM_TLS_LIBS}")
|
||||
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 ()
|
||||
|
||||
# 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})
|
||||
|
||||
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 DEBUG_POSTFIX d)
|
||||
endmacro ()
|
||||
|
||||
Reference in New Issue
Block a user