diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-10 02:58:01 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-10 02:58:01 +0000 |
commit | 74f9c570ea5526dd95e40a99cbaa173e1a20a4c3 (patch) | |
tree | e7de14ae32d3159331d3f54239374b139c8b2c67 /tests | |
parent | eed4a13b3bd99516161ac7e6b144b65a803e3719 (diff) |
Adjust comment
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt index 13c20b037..e094301fa 100644 --- a/tests/server/CMakeLists.txt +++ b/tests/server/CMakeLists.txt @@ -13,8 +13,12 @@ FUNCTION(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test SETUP_CURL_DEPENDENCIES(${TEST_NAME}) #TARGET_LINK_LIBRARIES( ${TEST_NAME} libcurl ) - # Here we define CURL_STATICLIB if not already done. This is a hacky way to avoid symbols from libcrul to be exported/imported, since we do NOT link against libcurl, but include directly some source files. - # Please note this is specific to those tests. + # Test servers simply are standalone programs that do not use libcurl + # library. For convinience and to ease portability of these servers, + # some source code files from the libcurl subdirectory are also used + # to build the servers. In order to achieve proper linkage of these + # files on Win32 targets it is necessary to build the test servers + # with CURL_STATICLIB defined, independently of how libcurl is built. IF(NOT CURL_STATICLIB) SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS CURL_STATICLIB) # ${UPPER_TEST_NAME} ENDIF() |