mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:43:33 +03:00
tests: move CURL_NO_OLDIES from build to first.h
This commit is contained in:
parent
819f63679c
commit
96dcf33704
13 changed files with 11 additions and 12 deletions
|
|
@ -46,7 +46,6 @@ target_include_directories(${BUNDLE} PRIVATE
|
|||
"${PROJECT_SOURCE_DIR}/lib" # for "curl_setup.h", curlx
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}" # for the generated bundle source to find included test sources
|
||||
)
|
||||
target_compile_definitions(${BUNDLE} PRIVATE "CURL_NO_OLDIES")
|
||||
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})
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ LIBS = $(BLANK_AT_MAKETIME)
|
|||
if USE_CPPFLAG_CURL_STATICLIB
|
||||
AM_CPPFLAGS += -DCURL_STATICLIB
|
||||
endif
|
||||
AM_CPPFLAGS += -DCURL_NO_OLDIES
|
||||
|
||||
if USE_CPPFLAG_CURL_STATICLIB
|
||||
curlx_c_lib =
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
* SPDX-License-Identifier: curl
|
||||
*
|
||||
***************************************************************************/
|
||||
#define CURL_NO_OLDIES
|
||||
|
||||
#include "curl_setup.h"
|
||||
|
||||
typedef int (*entry_func_t)(int, char **);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue