source: Renga/CMakeLists.txt@ 6d06a0b

main
Last change on this file since 6d06a0b was 6d06a0b, checked in by Adrien Destugues <pulkomandy@…>, 5 years ago

Rename to Renga

I heard "Jabber for Haiku" is not a great name and the protocol isn't
called Jabber anymore these days.

TODO: replace all logos as well.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1cmake_minimum_required (VERSION 2.8)
2
3# projectname is the same as the main-executable
4project(Renga)
5
6add_definitions('-g')
7add_definitions('-Wall' '-Wextra' '-Werror' '-Wno-multichar')
8#add_definitions('-std=c++11')
9
10include_directories(shared/split-pane)
11
12add_executable(Renga
13 jabber/Agent.cpp
14 jabber/CommandMessage.cpp
15 jabber/UserID.cpp
16 jabber/AboutWindow.cpp
17 jabber/BetterTextView.cpp
18 jabber/BuddyInfoWindow.cpp
19 jabber/ChangeNameWindow.cpp
20 jabber/ChatTextView.cpp
21 jabber/CustomStatusWindow.cpp
22 jabber/LoginPreferencesView.cpp
23 jabber/EditingFilter.cpp
24 jabber/MessagesPreferencesView.cpp
25 jabber/ModalAlertFactory.cpp
26 jabber/PeopleListItem.cpp
27 jabber/PreferencesWindow.cpp
28 jabber/RosterItem.cpp
29 jabber/RosterSuperitem.cpp
30 jabber/RosterView.cpp
31 jabber/RotateChatFilter.cpp
32 jabber/SendTalkWindow.cpp
33 jabber/SoundPreferencesView.cpp
34 jabber/TalkListItem.cpp
35 jabber/TalkManager.cpp
36 jabber/TalkWindow.cpp
37 jabber/TransportItem.cpp
38 jabber/TransportPreferencesView.cpp
39 jabber/BlabberApp.cpp
40 jabber/main.cpp
41 jabber/AgentList.cpp
42 jabber/BlabberMainWindow.cpp
43 jabber/BlabberSettings.cpp
44 jabber/BuddyWindow.cpp
45 jabber/JabberSpeak.cpp
46 jabber/JRoster.cpp
47 jabber/SoundSystem.cpp
48 jabber/GenericFunctions.cpp
49 jabber/FileItem.cpp
50 jabber/StatusView.cpp
51 jabber/PictureView.cpp
52 jabber/MessageRepeater.cpp
53 jabber/FileXMLReader.cpp
54 jabber/AppLocation.cpp
55 jabber/XMLEntity.cpp
56 jabber/XMLReader.cpp
57)
58
59target_link_libraries(Renga
60 be expat game gloox tracker translation
61)
62
63add_custom_command(TARGET Renga POST_BUILD
64 COMMAND rc -o Resource.rsrc ${CMAKE_SOURCE_DIR}/jabber/Resource.rdef
65 COMMAND xres -o ${CMAKE_BINARY_DIR}/Renga Resource.rsrc
66 -a PiNG:1:jabber-title ${CMAKE_SOURCE_DIR}/resources/graphics/jabber-title.png
67 -a PiNG:2:bulb-normal ${CMAKE_SOURCE_DIR}/resources/graphics/bulb-normal.png
68 -a PiNG:3:bulb-big ${CMAKE_SOURCE_DIR}/resources/graphics/bulb-big.png
69 -a PiNG:4:away-online ${CMAKE_SOURCE_DIR}/resources/icons/away-online.png
70 -a PiNG:5:online ${CMAKE_SOURCE_DIR}/resources/icons/online.png
71 -a PiNG:6:offline ${CMAKE_SOURCE_DIR}/resources/icons/offline.png
72 -a PiNG:7:unknown ${CMAKE_SOURCE_DIR}/resources/icons/unknown.png
73 -a PiNG:8:aol ${CMAKE_SOURCE_DIR}/resources/icons/aol.png
74 -a PiNG:9:icq ${CMAKE_SOURCE_DIR}/resources/icons/icq.png
75 -a PiNG:10:yahoo ${CMAKE_SOURCE_DIR}/resources/icons/yahoo.png
76 -a PiNG:11:msn ${CMAKE_SOURCE_DIR}/resources/icons/msn.png
77 COMMAND mimeset -f ${CMAKE_BINARY_DIR}/Renga
78 DEPENDS jabber/Resource.rdef
79)
80
81install(TARGETS Renga RUNTIME DESTINATION apps/)
Note: See TracBrowser for help on using the repository browser.