diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-03-26 15:58:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-03-26 15:58:46 +0200 |
commit | 8b12682035e2ae92a29a9ce12abc5fbcf38b1192 (patch) | |
tree | 1cc5c3fe9ef3b23557fc4e9e507fd0d23d007160 /kaboodle | |
parent | 250d713ff809fa943f614459009d1160e269dcef (diff) | |
download | tdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.tar.gz tdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.zip |
Initial cmake conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kaboodle')
-rw-r--r-- | kaboodle/CMakeLists.txt | 87 | ||||
-rw-r--r-- | kaboodle/actions/CMakeLists.txt | 12 | ||||
-rw-r--r-- | kaboodle/pics/CMakeLists.txt | 12 |
3 files changed, 111 insertions, 0 deletions
diff --git a/kaboodle/CMakeLists.txt b/kaboodle/CMakeLists.txt new file mode 100644 index 00000000..c7f8f811 --- /dev/null +++ b/kaboodle/CMakeLists.txt @@ -0,0 +1,87 @@ +################################################# +# +# (C) 2017 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( actions ) +add_subdirectory( pics ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${ARTS_INCLUDE_DIRS} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} +) + + +##### kaboodle (library) ######################## + +tde_add_library( kaboodle STATIC_PIC AUTOMOC + SOURCES + conf.cpp + controls.cpp + engine.cpp + player.cpp + view.cpp + kaboodle_factory.cpp +) + + +##### libkaboodle (module) ###################### + +tde_add_kpart( libkaboodlepart AUTOMOC + SOURCES + ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp + EMBED + kaboodle-static + LINK + tdeparts-shared + DCOP tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared + mcop qtmcop kmedia2_idl soundserver_idl artsflow_idl artskde-shared tdemediaplayer-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + +file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" ) + + +##### kaboodle (executable) ##################### + +tde_add_executable( kaboodle AUTOMOC + SOURCES + main.cpp + kaboodleapp.cpp + userinterface.cpp + LINK + kaboodle-static tdeparts-shared + DCOP tdecore-shared tdeui-shared tdefx-shared tdeio-shared tdetexteditor-shared + mcop qtmcop kmedia2_idl soundserver_idl artsflow_idl artskde-shared tdemediaplayer-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( + FILES kaboodle.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) +install( + FILES kaboodleui.rc kaboodlepartui.rc + DESTINATION ${DATA_INSTALL_DIR}/kaboodle +) +install( + FILES kaboodle_component.desktop kaboodleengine.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/kaboodle/actions/CMakeLists.txt b/kaboodle/actions/CMakeLists.txt new file mode 100644 index 00000000..fadc20f7 --- /dev/null +++ b/kaboodle/actions/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2017 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kaboodle/icons ) diff --git a/kaboodle/pics/CMakeLists.txt b/kaboodle/pics/CMakeLists.txt new file mode 100644 index 00000000..76b06133 --- /dev/null +++ b/kaboodle/pics/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2017 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( ) |