diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-02-07 12:47:51 +0100 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2019-02-08 14:04:57 +0100 |
commit | 756f6fd2f58c31e21c2f726dbb99e085ec97cfd4 (patch) | |
tree | c5b284eb1696941a42f4fce6891fd9540163bf23 /src | |
parent | a77e36408cd1eaeb2d64a02b766b1cd875a4897c (diff) | |
download | tde-style-ia-ora-756f6fd2f58c31e21c2f726dbb99e085ec97cfd4.tar.gz tde-style-ia-ora-756f6fd2f58c31e21c2f726dbb99e085ec97cfd4.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/twin/CMakeLists.txt | 42 | ||||
-rw-r--r-- | src/twin/config/CMakeLists.txt | 27 | ||||
-rw-r--r-- | src/widget/CMakeLists.txt | 33 |
4 files changed, 104 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..fcca24d --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory( widget ) +add_subdirectory( twin ) diff --git a/src/twin/CMakeLists.txt b/src/twin/CMakeLists.txt new file mode 100644 index 0000000..a50b032 --- /dev/null +++ b/src/twin/CMakeLists.txt @@ -0,0 +1,42 @@ +tde_import( twin ) + +add_subdirectory( config ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIBRARY_DIRS} +) + + +##### twin3_iaora (kpart) + +tde_add_kpart( twin3_iaora AUTOMOC + + SOURCES + iaora.cpp + iaoraclient.cpp + iaorabutton.cpp + misc.cpp + LINK + tdecore-shared + tdeui-shared + tdecorations-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +install( + FILES iaora.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin +) diff --git a/src/twin/config/CMakeLists.txt b/src/twin/config/CMakeLists.txt new file mode 100644 index 0000000..a21ca8f --- /dev/null +++ b/src/twin/config/CMakeLists.txt @@ -0,0 +1,27 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIBRARY_DIRS} +) + + +##### twin_iaora_config (kpart) + +tde_add_kpart( twin_iaora_config AUTOMOC + + SOURCES + config.cpp + configdialog.ui + LINK + tdecore-shared + tdeui-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/src/widget/CMakeLists.txt b/src/widget/CMakeLists.txt new file mode 100644 index 0000000..c9ab128 --- /dev/null +++ b/src/widget/CMakeLists.txt @@ -0,0 +1,33 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIBRARY_DIRS} +) + + +##### ia_ora (kpart) + +tde_add_kpart( ia_ora AUTOMOC + + SOURCES + ia_ora.cpp + LINK + tdecore-shared + + DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles +) + + +##### other data + +install( + FILES ia_ora.themerc + DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes +) |