summaryrefslogtreecommitdiffstats
path: root/noatun/CMakeLists.txt
blob: 7ecc648e52f370bd056181029e5b2b8be33e6f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#################################################
#
#  (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 ################################

tde_create_translated_desktop(
  SOURCE noatun.desktop
  PO_DIR noatun-desktops
)

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
)