cmake configure_file examples

Signatures

configure_file(<input> <output>
  [NO_SOURCE_PERMISSIONS | USE_SOURCE_PERMISSIONS |
  FILE_PERMISSIONS <permissions>...]
  [COPYONLY] [ESCAPE_QUOTES] [@ONLY]
[NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])

Examples

eclipse-ecal/ecal thirdparty/cmakefunctions/cmake_functions/qt/qt_windeployqt.cmake :49

configure_file(${qt_windeployqt_cmake_path}/qt_windeployqt_threadsafe_cmake.bat.in qt_windeployqt_threadsafe_cmake.bat
            NEWLINE_STYLE DOS
        )

apple/foundationdb packaging/msi/generate_wxs.cmake :11

configure_file(${IN} ${OUT} @ONLY NEWLINE_STYLE DOS)