diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-12 01:46:30 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-14 14:44:49 +0200 |
commit | effe46db86e1317da5aad66687966b3e11398b6c (patch) | |
tree | 9bada0d3e222201dbb249d85e1c095698d93ff79 /cmake/UnitTest/generate_test_data.cmake | |
parent | ba939c92ec2e47f609c52b0d824c051fda25e38a (diff) | |
download | PrismLauncher-effe46db86e1317da5aad66687966b3e11398b6c.tar.gz PrismLauncher-effe46db86e1317da5aad66687966b3e11398b6c.tar.bz2 PrismLauncher-effe46db86e1317da5aad66687966b3e11398b6c.zip |
refactor: move away from UnitTest.cmake
Diffstat (limited to 'cmake/UnitTest/generate_test_data.cmake')
-rw-r--r-- | cmake/UnitTest/generate_test_data.cmake | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cmake/UnitTest/generate_test_data.cmake b/cmake/UnitTest/generate_test_data.cmake deleted file mode 100644 index d0bd4ab1..00000000 --- a/cmake/UnitTest/generate_test_data.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# Copy files from source directory to destination directory, substituting any -# variables. Create destination directory if it does not exist. - -function(configure_files srcDir destDir) - make_directory(${destDir}) - - file(GLOB templateFiles RELATIVE ${srcDir} ${srcDir}/*) - foreach(templateFile ${templateFiles}) - set(srcTemplatePath ${srcDir}/${templateFile}) - if(NOT IS_DIRECTORY ${srcTemplatePath}) - configure_file( - ${srcTemplatePath} - ${destDir}/${templateFile} - @ONLY - NEWLINE_STYLE LF - ) - else() - configure_files("${srcTemplatePath}" "${destDir}/${templateFile}") - endif() - endforeach() -endfunction() - -configure_files(${SOURCE} ${DESTINATION})
\ No newline at end of file |