aboutsummaryrefslogtreecommitdiff
path: root/cmake/UnitTest/generate_test_data.cmake
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-06-12 01:46:30 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-06-14 14:44:49 +0200
commiteffe46db86e1317da5aad66687966b3e11398b6c (patch)
tree9bada0d3e222201dbb249d85e1c095698d93ff79 /cmake/UnitTest/generate_test_data.cmake
parentba939c92ec2e47f609c52b0d824c051fda25e38a (diff)
downloadPrismLauncher-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.cmake23
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