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

facebook/mysql-5.6 storage/ndb/clusterj/CMakeLists.txt :79

CONFIGURE_FILE(
      ${CMAKE_CURRENT_SOURCE_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml.in
      ${CMAKE_CURRENT_BINARY_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml
      @ONLY NEWLINE_STYLE WIN32)

percona/percona-xtradb-cluster storage/ndb/clusterj/CMakeLists.txt :80

CONFIGURE_FILE(
      ${CMAKE_CURRENT_SOURCE_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml.in
      ${CMAKE_CURRENT_BINARY_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml
      @ONLY NEWLINE_STYLE WIN32)

google/mysql-protobuf storage/ndb/clusterj/CMakeLists.txt :72

CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml.in
                   ${CMAKE_CURRENT_BINARY_DIR}/clusterj-${CLUSTERJ_PROJECT}/pom.xml
                   @ONLY NEWLINE_STYLE WIN32)