blob: 9cb93b4c95621e19a1419a027d0013c720d18562 (
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
|
#################################################
#
# (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( pics )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/arts/runtime
${CMAKE_BINARY_DIR}/arts/runtime
${CMAKE_BINARY_DIR}
${ARTS_INCLUDE_DIRS}
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
${ARTS_LIBRARY_DIRS}
)
##### artsbuilder (executable) ##################
tde_add_executable( artsbuilder AUTOMOC
SOURCES
autorouter.cpp main.cpp propertypanelbase.ui
module.cpp propertypanel.cpp structure.cpp
retrievedlg.cpp createtool.cpp structureport.cpp
drawutils.cpp scomponent.cpp portposdlg.cpp
menumaker.cpp session.cpp dirmanager.cpp mwidget.cpp
execdlg.cpp qttableview.cpp interfacedlg.cpp
LINK
tdecore-shared tdeui-shared tdeio-shared artsbuilder-shared artskde-shared
mcop qtmcop artsflow_idl soundserver_idl pthread
DEPENDENCIES
arts_builder_headers
DESTINATION ${BIN_INSTALL_DIR}
)
add_custom_target(
arts_builder_headers
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/propertypanelbase.h
)
##### other data ################################
install( FILES artsbuilder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES x-artsbuilder.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )
|