diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-12-13 17:48:14 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-12-13 17:59:43 +0100 |
commit | a6283453576ef8e387d837a13a1b4072a2b9532d (patch) | |
tree | d6c3c05037f58fbc65c6cfbff33e9c875e962b06 /DesktopEffects/CMakeLists.txt | |
parent | a198c56607d4a2e3390e5583bf7eed19c7c9df0c (diff) | |
download | desktop-effects-tde-a6283453576ef8e387d837a13a1b4072a2b9532d.tar.gz desktop-effects-tde-a6283453576ef8e387d837a13a1b4072a2b9532d.zip |
Conversion to CMake build system.
Copy translations to a new directory layout.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 +) |