diff options
Diffstat (limited to 'DesktopEffects/CMakeLists.txt')
-rw-r--r-- | DesktopEffects/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/DesktopEffects/CMakeLists.txt b/DesktopEffects/CMakeLists.txt new file mode 100644 index 0000000..3ff16c1 --- /dev/null +++ b/DesktopEffects/CMakeLists.txt @@ -0,0 +1,24 @@ + +##### DesktopEffectsDialog.py (generated from DesktopEffectsDialog.ui) + +add_custom_command( OUTPUT DesktopEffectsDialog.py + COMMAND ${TDEPYUIC_EXECUTABLE} ${CMAKE_SOURCE_DIR}/data/DesktopEffectsDialog.ui + COMMENT "Gerenate DesktopEffectsDialog.py" +) + +add_custom_target( DesktopEffectsDialog-pyuic ALL + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/DesktopEffectsDialog.py +) + + +##### other data + +file( GLOB data_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) +list( REMOVE_ITEM data_files "CMakeLists.txt" ) +list( REMOVE_ITEM data_files "DesktopEffectsDialog.py" ) +list( APPEND data_files ${CMAKE_CURRENT_BINARY_DIR}/DesktopEffectsDialog.py ) + +install( + FILES ${data_files} + DESTINATION ${SHARE_INSTALL_PREFIX}/pyshared/DesktopEffects +) |