diff options
Diffstat (limited to 'client/CMakeLists.txt')
-rw-r--r-- | client/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 07fb701..903baf5 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -21,6 +21,16 @@ link_directories( tde_import(twin) + +### buttons.h ################################################################## + +configure_file( create-buttons.sh.cmake create-buttons.sh @ONLY ) + +add_custom_target( buttons.h + COMMAND ${CMAKE_COMMAND} -E env ${CMAKE_CURRENT_BINARY_DIR}/create-buttons.sh +) + + ### twin_polyester (kpart) ##################################################### tde_add_kpart( twin_polyester AUTOMOC @@ -38,6 +48,9 @@ tde_add_kpart( twin_polyester AUTOMOC DESTINATION ${PLUGIN_INSTALL_DIR} ) +add_dependencies( twin_polyester-module buttons.h ) + + ### other data ################################################################# install( @@ -45,6 +58,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/twin ) + ### configuration module ####################################################### add_subdirectory(config) |