From 419e58407be46c049216aeaa2e6f01694b515d96 Mon Sep 17 00:00:00 2001 From: stefan <stefan@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Mon, 12 Jul 2010 14:49:05 +0000 Subject: [PATCH] moved gradients.xml from gui to gfx git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2555 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/gfx/pymod/CMakeLists.txt | 10 +++++++++- modules/{gui/pymod/scene => gfx/pymod}/gradients.xml | 0 modules/gui/pymod/CMakeLists.txt | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) rename modules/{gui/pymod/scene => gfx/pymod}/gradients.xml (100%) diff --git a/modules/gfx/pymod/CMakeLists.txt b/modules/gfx/pymod/CMakeLists.txt index 9cf561485..52eac70f7 100644 --- a/modules/gfx/pymod/CMakeLists.txt +++ b/modules/gfx/pymod/CMakeLists.txt @@ -17,4 +17,12 @@ if (ENABLE_IMG) set(OST_GFX_PYMOD_SOURCES ${OST_GFX_PYMOD_SOURCES} export_map.cc) endif() -pymod(NAME gfx CPP ${OST_GFX_PYMOD_SOURCES} PY __init__.py) \ No newline at end of file +pymod(NAME gfx CPP ${OST_GFX_PYMOD_SOURCES} PY __init__.py) + +set(GRADIENT_FILE + gradients.xml +) +copy_if_different("./" "${STAGE_DIR}/share/openstructure/scene" + "${GRADIENT_FILE}" "PRESET GRADIENTS" _gfx) + +install(FILES ${GRADIENT_FILE} DESTINATION "share/openstructure/scene") \ No newline at end of file diff --git a/modules/gui/pymod/scene/gradients.xml b/modules/gfx/pymod/gradients.xml similarity index 100% rename from modules/gui/pymod/scene/gradients.xml rename to modules/gfx/pymod/gradients.xml diff --git a/modules/gui/pymod/CMakeLists.txt b/modules/gui/pymod/CMakeLists.txt index 077545a9a..c3006bbca 100644 --- a/modules/gui/pymod/CMakeLists.txt +++ b/modules/gui/pymod/CMakeLists.txt @@ -88,7 +88,6 @@ pymod(NAME gui CPP ${OST_GUI_PYMOD_SOURCES} ${OST_GUI_PYMOD_MODULES}) set(PRESET_FILES - scene/gradients.xml scene/presets.xml scene/loaders.xml ) -- GitLab