diff options
Diffstat (limited to 'noatun/CMakeLists.txt')
-rw-r--r-- | noatun/CMakeLists.txt | 65 |
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 +) |