summaryrefslogtreecommitdiffstats
path: root/noatun/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:58:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:59:04 +0200
commitefcdd889254fc98314dd48854d50e90aa21e53c0 (patch)
tree5dc7034c23a5a18ca31d90225137f5eeaec809c4 /noatun/CMakeLists.txt
parent25709e498d5832125f5f584bd10e3c66d05ec5ee (diff)
downloadtdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.tar.gz
tdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.zip
Initial cmake conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8b12682035e2ae92a29a9ce12abc5fbcf38b1192)
Diffstat (limited to 'noatun/CMakeLists.txt')
-rw-r--r--noatun/CMakeLists.txt65
1 files changed, 65 insertions, 0 deletions
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
+)