mirror of
https://github.com/curl/curl.git
synced 2026-06-07 16:34:16 +03:00
cleanup-2
This commit is contained in:
parent
7ea51a1b3b
commit
1891eefbcb
2 changed files with 2 additions and 4 deletions
|
|
@ -49,8 +49,7 @@ target_compile_definitions(TARGET ${BUNDLE} PRIVATE "WITHOUT_LIBCURL" "CURL_NO_O
|
|||
# to build the servers. In order to achieve proper linkage of these
|
||||
# files on Windows targets it is necessary to build the test servers
|
||||
# with CURL_STATICLIB defined, independently of how libcurl is built.
|
||||
"$<$<BOOL:WIN32>:CURL_STATICLIB>"
|
||||
)
|
||||
"$<$<BOOL:WIN32>:CURL_STATICLIB>")
|
||||
set_target_properties(${BUNDLE} PROPERTIES OUTPUT_NAME "${BUNDLE}" PROJECT_LABEL "Test ${BUNDLE}" UNITY_BUILD OFF C_CLANG_TIDY "")
|
||||
|
||||
curl_add_clang_tidy_test_target("${BUNDLE}-clang-tidy" ${BUNDLE} ${FIRST_C} ${UTILS_C} ${TESTS_C})
|
||||
|
|
|
|||
|
|
@ -45,8 +45,7 @@ target_include_directories(${BUNDLE} PRIVATE
|
|||
"${CMAKE_CURRENT_SOURCE_DIR}" # for the generated bundle source to find included test sources
|
||||
)
|
||||
target_compile_definitions(TARGET ${BUNDLE} PRIVATE ${CURL_DEBUG_MACROS} "CURL_NO_OLDIES" "CURL_DISABLE_DEPRECATION"
|
||||
"BUILDING_LIBCURL" # unit tests are small pretend-libcurl-programs
|
||||
)
|
||||
"BUILDING_LIBCURL") # unit tests are small pretend-libcurl-programs
|
||||
set_target_properties(${BUNDLE} PROPERTIES OUTPUT_NAME "${BUNDLE}" PROJECT_LABEL "Test ${BUNDLE}" UNITY_BUILD OFF C_CLANG_TIDY "")
|
||||
|
||||
curl_add_clang_tidy_test_target("${BUNDLE}-clang-tidy" ${BUNDLE} ${FIRST_C} ${TESTS_C})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue