I want to execute a command in CMake with execute_process(). I have multiple input files in a variable. How can I get all files into the INPUT_FILE section?
using
execute_process(
COMMAND
${Python3_EXECUTABLE}
${CMAKE_SOURCE_DIR}/tools/generator.py
${input_files}
INPUT_FILE ${CMAKE_SOURCE_DIR}/tools/generator.py
INPUT_FILE ${input_files}
OUTPUT_FILE ${output_files})
gives the following message:
CMake Error at /cmake/codegen.cmake:112 (execute_process):
execute_process given unknown argument
"second_file.name"