summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-02-11 15:15:46 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-02-11 15:15:46 +0000
commit5b801eae16415b041c1e1a8f98ee2b83bd0a092c (patch)
treecd970a7e9a9a3b74a9009f7aea719e0af2dd88dd /test
parenteb82b2fb9acb1075cd02a175dc01ef8f41779b70 (diff)
[CMake] Copy support files for demo programs to build directory (incomplete).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 072fb852f..45585b40a 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -99,3 +99,17 @@ endif(OPENGL_FOUND)
if(FLTK_HAVE_CAIRO)
CREATE_EXAMPLE(cairo_test cairo_test.cxx "fltk;fltk_cairo")
endif(FLTK_HAVE_CAIRO)
+
+# We need some support files for the demo programs:
+
+# Note: this is incomplete as of 11 Feb 2015
+# Todo: currently all files are copied, but some of them need configuration:
+# - demo.menu: fluid can't be started (wrong path)
+# - demo.menu: help (help-test.html) can't find its images (not copied)
+# - maybe more ...
+
+configure_file(demo.menu ${EXECUTABLE_OUTPUT_PATH} COPYONLY)
+configure_file(rgb.txt ${EXECUTABLE_OUTPUT_PATH} COPYONLY)
+configure_file(help-test.html ${EXECUTABLE_OUTPUT_PATH} COPYONLY)
+configure_file(browser.cxx ${EXECUTABLE_OUTPUT_PATH} COPYONLY)
+configure_file(editor.cxx ${EXECUTABLE_OUTPUT_PATH} COPYONLY)