From 8b12682035e2ae92a29a9ce12abc5fbcf38b1192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 Mar 2017 15:58:46 +0200 Subject: Initial cmake conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- noatun/CMakeLists.txt | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 noatun/CMakeLists.txt (limited to 'noatun/CMakeLists.txt') diff --git a/noatun/CMakeLists.txt b/noatun/CMakeLists.txt new file mode 100644 index 00000000..df9f15b4 --- /dev/null +++ b/noatun/CMakeLists.txt @@ -0,0 +1,65 @@ +################################################# +# +# (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( app ) +add_subdirectory( library ) +add_subdirectory( modules ) +add_subdirectory( pics ) +tde_install_icons( ) + + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/library + ${CMAKE_BINARY_DIR} + ${ARTS_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR}/tdeio + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### noatun20update (executable) ############### + +tde_add_executable( noatun20update + SOURCES + noatun20update.cpp + LINK + DCOP-shared tdecore-shared tdeui-shared tdefx-shared + tdeio-shared tdetexteditor-shared + DESTINATION ${LIB_INSTALL_DIR}/tdeconf_update_bin +) + + +##### api ####################################### + +add_custom_target( noatun.api + COMMAND ${CMAKE_COMMAND} -E make_directory + ${CMAKE_CURRENT_BINARY_DIR}/apidocs/libnoatun + COMMAND ${CMAKE_COMMAND} -E create_symlink + ${TDE_HTML_DIR}/en/common + ${CMAKE_CURRENT_BINARY_DIR}/apidocs/common + COMMAND doxygen ${CMAKE_CURRENT_SOURCE_DIR}/noatun.api +) + + +##### other data ################################ + +install( FILES noatun.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES noatun.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update ) +install( + FILES + preset.dance preset.jazz preset.metal preset.trance preset.zero + DESTINATION ${DATA_INSTALL_DIR}/noatun/eq.preset +) -- cgit v1.2.1