diff options
author | gregory guy <[email protected]> | 2019-02-07 12:47:51 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2019-02-08 14:04:57 +0100 |
commit | 756f6fd2f58c31e21c2f726dbb99e085ec97cfd4 (patch) | |
tree | c5b284eb1696941a42f4fce6891fd9540163bf23 /src/twin | |
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 <[email protected]>
Diffstat (limited to 'src/twin')
-rw-r--r-- | src/twin/CMakeLists.txt | 42 | ||||
-rw-r--r-- | src/twin/config/CMakeLists.txt | 27 |
2 files changed, 69 insertions, 0 deletions
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} +) |