2 foreach(variable ${VARS})
3 execute_process(COMMAND ${PROJECT_SOURCE_DIR}/vendor/getinfo
4 --vendor ${CURRENT_VENDOR} ${variable}
5 OUTPUT_VARIABLE value OUTPUT_STRIP_TRAILING_WHITESPACE)
6 string(REPLACE "&${variable};" "${value}" input "${input}")
8 file(WRITE ${OUT} "${input}")