ConfigureFiles.cmake 380 B

12345678910
  1. # Copy files from source directory to destination directory, substituting any
  2. # variables. Create destination directory if it does not exist.
  3. macro(configure_files srcDir destDir)
  4. message(STATUS "Configuring directory ${destDir}")
  5. make_directory(${destDir})
  6. execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory ${srcDir} ${destDir})
  7. endmacro(configure_files)