mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07: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$")
|
||||
set(tsource "${GENERATED_DIR}/${r}.test-include.c")
|
||||
set(tresult "${GENERATED_DIR}/${r}.test-include.i")
|
||||
string(REPLACE "/" "-" texe "test-incl-${r}")
|
||||
write_file("${tsource}" "#include \"${hfile}\"\nint main(int argc, char **argv) { return 0; }")
|
||||
get_preproc_output(PREPROC_OUTPUT ${tresult})
|
||||
add_executable(
|
||||
${texe}
|
||||
EXCLUDE_FROM_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user