-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
46 lines (38 loc) · 1.5 KB
/
CMakeLists.txt
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
project( KLan )
cmake_minimum_required(VERSION 2.6)
find_package( KDE4 REQUIRED )
include( KDE4Defaults )
include_directories( ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} )
set( KLan_SRCS main.cpp
mainwindow.cpp
chatwindow.cpp
trayicon.cpp
settingsdialog.cpp
model/conmodel.cpp
model/confilter.cpp
model/condelegate.cpp
model/conitem.cpp
connection/connectionobject.cpp
connection/conmanager.cpp
connection/server.cpp
connection/client.cpp
connection/clientconnection.cpp
connection/serverconnection.cpp
connection/def.h
sendingfiles/sendclient.cpp
sendingfiles/sendserver.cpp
sendingfiles/sendfiles.cpp
sendingfiles/senditem.cpp
widgets/sizedeplabel.cpp
)
set( KLan_SOUND data/sounds/klan_connect.ogg
data/sounds/klan_chat.ogg
)
kde4_add_kcfg_files(KLan_SRCS klansettings.kcfgc)
kde4_add_executable( klan ${KLan_SRCS} )
target_link_libraries( klan ${KDE4_KDEUI_LIBS} )
install(TARGETS klan DESTINATION ${BIN_INSTALL_DIR})
install(FILES klanui.rc DESTINATION ${DATA_INSTALL_DIR}/klan)
install( FILES klan.notifyrc DESTINATION ${DATA_INSTALL_DIR}/klan )
install(FILES klan.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES ${KLan_SOUND} DESTINATION ${SOUND_INSTALL_DIR} )