build: remove unused get_preproc_output() call

ref https://github.com/neovim/neovim/pull/6375#discussion_r108573471
This commit is contained in:
Justin M. Keyes 2017-03-29 17:39:06 +02:00
parent 2846d508b2
commit 05b74399aa

View File

@ -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