]>
Commit | Line | Data |
---|---|---|
1 | file(READ ${IN} input) | |
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}") | |
7 | endforeach() | |
8 | file(WRITE ${OUT} "${input}") |