aboutsummaryrefslogtreecommitdiff
path: root/cmake/UnitTest/generate_test_data.cmake
diff options
context:
space:
mode:
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