mirror of
https://github.com/curl/curl.git
synced 2026-08-26 08:53:32 +03:00
Added special define for tests that directly include libcurl sources.
This commit is contained in:
parent
3733fa02ee
commit
020955ebc2
2 changed files with 6 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ FUNCTION(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
|
|||
SETUP_CURL_DEPENDENCIES(${TEST_NAME})
|
||||
#TARGET_LINK_LIBRARIES( ${TEST_NAME} libcurl )
|
||||
|
||||
#SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME})
|
||||
SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS USES_DIRECT_CURL_UTILITIES) # ${UPPER_TEST_NAME}
|
||||
|
||||
# Add the postfix to the executable since it is not added automatically as for modules and shared libraries
|
||||
SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue