From 5b801eae16415b041c1e1a8f98ee2b83bd0a092c Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 11 Feb 2015 15:15:46 +0000 Subject: [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 --- test/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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) -- cgit v1.2.3