mirror of
https://github.com/curl/curl.git
synced 2026-06-05 13:34:15 +03:00
cmake: namespace functions and macros
Prefix (or suffix) curl-defined macro and function names with `curl`. To avoid collisions with non-curl CMake and to make them recognizable as curl-specific calls. Closes #15498
This commit is contained in:
parent
fa676a6985
commit
b9895b9d3f
16 changed files with 155 additions and 154 deletions
|
|
@ -50,7 +50,7 @@ else()
|
|||
endif()
|
||||
|
||||
# Get 'CURL_CFILES', 'CURLX_CFILES', 'CURL_HFILES', 'CURLTOOL_LIBCURL_CFILES' variables
|
||||
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||
curl_transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
||||
|
||||
if(CURL_CA_EMBED_SET)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue