mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: remove unused get_preproc_output() call
ref https://github.com/neovim/neovim/pull/6375#discussion_r108573471
This commit is contained in:
parent
2846d508b2
commit
05b74399aa
@ -461,10 +461,8 @@ foreach(hfile ${NVIM_HEADERS})
|
|||||||
|
|
||||||
if(NOT ${hfile} MATCHES "[.]c[.]h$")
|
if(NOT ${hfile} MATCHES "[.]c[.]h$")
|
||||||
set(tsource "${GENERATED_DIR}/${r}.test-include.c")
|
set(tsource "${GENERATED_DIR}/${r}.test-include.c")
|
||||||
set(tresult "${GENERATED_DIR}/${r}.test-include.i")
|
|
||||||
string(REPLACE "/" "-" texe "test-incl-${r}")
|
string(REPLACE "/" "-" texe "test-incl-${r}")
|
||||||
write_file("${tsource}" "#include \"${hfile}\"\nint main(int argc, char **argv) { return 0; }")
|
write_file("${tsource}" "#include \"${hfile}\"\nint main(int argc, char **argv) { return 0; }")
|
||||||
get_preproc_output(PREPROC_OUTPUT ${tresult})
|
|
||||||
add_executable(
|
add_executable(
|
||||||
${texe}
|
${texe}
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user