mirror of
https://github.com/curl/curl.git
synced 2026-07-16 01:37:16 +03:00
parent
eb01ac3fc8
commit
a4a13c96ca
3 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
# Get BUNDLE, BUNDLE_SRC, CURLX_SRCS, FIRSTFILES, TESTFILES variables
|
||||
# Get BUNDLE, BUNDLE_SRC, FIRSTFILES, CURLX_SRCS, TESTFILES variables
|
||||
curl_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \
|
|||
-I$(top_srcdir)/lib/curlx \
|
||||
-I$(srcdir)
|
||||
|
||||
# Get BUNDLE, BUNDLE_SRC, CURLX_SRCS, FIRSTFILES, TESTFILES variables
|
||||
# Get BUNDLE, BUNDLE_SRC, FIRSTFILES, CURLX_SRCS, TESTFILES variables
|
||||
include Makefile.inc
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt $(FIRSTFILES) $(TESTFILES)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ add_custom_command(OUTPUT "${BUNDLE_SRC}"
|
|||
|
||||
add_executable(libtests EXCLUDE_FROM_ALL "${BUNDLE_SRC}")
|
||||
add_dependencies(testdeps libtests)
|
||||
target_link_libraries(libtests ${LIB_SELECTED} ${CURL_LIBS})
|
||||
target_include_directories(libtests PRIVATE
|
||||
"${PROJECT_BINARY_DIR}/lib" # for "curl_config.h"
|
||||
"${PROJECT_SOURCE_DIR}/lib" # for "curl_setup.h"
|
||||
|
|
@ -58,5 +57,6 @@ target_include_directories(libtests PRIVATE
|
|||
"${PROJECT_SOURCE_DIR}/tests/libtest" # to be able to build generated tests
|
||||
"${PROJECT_SOURCE_DIR}/tests/unit" # for curlcheck.h
|
||||
)
|
||||
target_link_libraries(libtests ${LIB_SELECTED} ${CURL_LIBS})
|
||||
set_property(TARGET libtests APPEND PROPERTY COMPILE_DEFINITIONS "${CURL_DEBUG_MACROS}" "CURL_NO_OLDIES" "CURL_DISABLE_DEPRECATION")
|
||||
set_target_properties(libtests PROPERTIES OUTPUT_NAME "${BUNDLE}" PROJECT_LABEL "Test ${BUNDLE}" UNITY_BUILD OFF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue