mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:31:41 +03:00
cmake: drop redundant unity mode for curlinfo
Unity mode adds nothing besides some overhead and log noise for targets built from a single source file. I wish cmake disabled unity automatically in this case. Closes #18238
This commit is contained in:
parent
fe5225b5ea
commit
c04292648f
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ target_link_libraries(${EXE_NAME} ${LIB_SELECTED_FOR_EXE} ${CURL_LIBS})
|
|||
add_executable(${PROJECT_NAME}::${EXE_NAME} ALIAS ${EXE_NAME})
|
||||
|
||||
add_executable(curlinfo EXCLUDE_FROM_ALL "curlinfo.c")
|
||||
set_target_properties(curlinfo PROPERTIES UNITY_BUILD OFF)
|
||||
|
||||
# special libcurltool library just for unittests
|
||||
add_library(curltool STATIC EXCLUDE_FROM_ALL ${CURL_CFILES} ${CURL_HFILES} ${_curlx_cfiles_lib} ${_curlx_hfiles_lib})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue