cmake write_file examples

Signatures

write_file(filename "message to write"... [APPEND])

Examples

eranif/codelite CMakeLists.txt :1081

write_file(${CMAKE_BINARY_DIR}/msys2-environment "export MSYS2_HOME=${MSYS2_BASE}" APPEND)

openigtlink/OpenIGTLink CMake/OpenIGTLinkCMakeTests.cmake :24

WRITE_FILE(${OpenIGTLink_BINARY_DIR}/CMakeFiles/CMakeOutput.log
      "Determining if getsockname accepts socklen_t type  "
      "passed with the following output:\n"
      "${OUTPUT}\n" APPEND)

SGL-UT/gnsstk core/tests/Geomatics/CMakeLists.txt :120

write_file(${INCFILE} "#include <${INCFILEINC}>" APPEND)

FreeRDP/FreeRDP client/SDL/common/res/CMakeLists.txt :77

write_file(${FINIT} "#include <${HDR}>" APPEND)

mongodb/mongo-bi-connector-odbc-driver wix/CMakeLists.txt :58

WRITE_FILE("myodbc_version.xml" "<?define odbc_resource=\"${WIX_RESOURCE}\" ?>" APPEND)