summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt88
1 files changed, 70 insertions, 18 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9b1dd0e9..94688e66 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,7 @@
FIND_PACKAGE(SDL REQUIRED)
FIND_PACKAGE(SDL_image REQUIRED)
FIND_PACKAGE(SDL_mixer REQUIRED)
+FIND_PACKAGE(SDL_net REQUIRED)
FIND_PACKAGE(SDL_ttf REQUIRED)
FIND_PACKAGE(ENet REQUIRED)
FIND_PACKAGE(CURL REQUIRED)
@@ -28,6 +29,7 @@ INCLUDE_DIRECTORIES(
${SDL_INCLUDE_DIR}
${SDLIMAGE_INCLUDE_DIR}
${SDLMIXER_INCLUDE_DIR}
+ ${SDLNET_INCLUDE_DIR}
${SDLTTF_INCLUDE_DIR}
${ENET_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
@@ -45,6 +47,8 @@ MARK_AS_ADVANCED(SDLIMAGE_LIBRARY)
MARK_AS_ADVANCED(SDLMAIN_LIBRARY)
MARK_AS_ADVANCED(SDLMIXER_INCLUDE_DIR)
MARK_AS_ADVANCED(SDLMIXER_LIBRARY)
+MARK_AS_ADVANCED(SDLNET_INCLUDE_DIR)
+MARK_AS_ADVANCED(SDLNET_LIBRARY)
MARK_AS_ADVANCED(SDL_INCLUDE_DIR)
MARK_AS_ADVANCED(SDL_LIBRARY)
@@ -57,12 +61,12 @@ SET(SRCS
gui/widgets/resizegrip.h
gui/widgets/layout.cpp
gui/widgets/layout.h
+ gui/widgets/layouthelper.cpp
+ gui/widgets/layouthelper.h
gui/widgets/tab.cpp
gui/widgets/tab.h
gui/widgets/tabbedarea.cpp
gui/widgets/tabbedarea.h
- gui/box.cpp
- gui/box.h
gui/browserbox.cpp
gui/browserbox.h
gui/buddywindow.cpp
@@ -77,6 +81,8 @@ SET(SRCS
gui/changeemaildialog.h
gui/changepassworddialog.cpp
gui/changepassworddialog.h
+ gui/char_server.cpp
+ gui/char_server.h
gui/char_select.cpp
gui/char_select.h
gui/chat.cpp
@@ -85,12 +91,20 @@ SET(SRCS
gui/chatinput.h
gui/checkbox.cpp
gui/checkbox.h
+ gui/color.cpp
+ gui/color.h
gui/confirm_dialog.cpp
gui/confirm_dialog.h
gui/connection.cpp
gui/connection.h
gui/debugwindow.cpp
gui/debugwindow.h
+ gui/emotecontainer.cpp
+ gui/emotecontainer.h
+ gui/emoteshortcutcontainer.cpp
+ gui/emoteshortcutcontainer.h
+ gui/emotewindow.cpp
+ gui/emotewindow.h
gui/equipmentwindow.cpp
gui/equipmentwindow.h
gui/focushandler.cpp
@@ -103,18 +117,14 @@ SET(SRCS
gui/guildlistbox.h
gui/guildwindow.cpp
gui/guildwindow.h
- gui/hbox.cpp
- gui/hbox.h
gui/help.cpp
gui/help.h
gui/icon.cpp
gui/icon.h
- gui/inttextbox.cpp
- gui/inttextbox.h
+ gui/inttextfield.cpp
+ gui/inttextfield.h
gui/inventorywindow.cpp
gui/inventorywindow.h
- gui/item_amount.cpp
- gui/item_amount.h
gui/itemcontainer.cpp
gui/itemcontainer.h
gui/itemlinkhandler.cpp
@@ -122,9 +132,9 @@ SET(SRCS
gui/itempopup.cpp
gui/itempopup.h
gui/itemshortcutcontainer.cpp
- gui/itemshortcutcontainer.h
- gui/itemshortcutwindow.cpp
- gui/itemshortcutwindow.h
+ gui/itemshortcutcontainer.h\
+ gui/item_amount.cpp
+ gui/item_amount.h
gui/linkhandler.h
gui/listbox.cpp
gui/listbox.h
@@ -138,8 +148,12 @@ SET(SRCS
gui/minimap.h
gui/ministatus.cpp
gui/ministatus.h
+ gui/npcintegerdialog.cpp
+ gui/npcintegerdialog.h
gui/npclistdialog.cpp
gui/npclistdialog.h
+ gui/npcstringdialog.cpp
+ gui/npcstringdialog.h
gui/npcpostdialog.cpp
gui/npcpostdialog.h
gui/npc_text.cpp
@@ -160,6 +174,8 @@ SET(SRCS
gui/quitdialog.h
gui/radiobutton.cpp
gui/radiobutton.h
+ gui/recorder.cpp
+ gui/recorder.h
gui/register.cpp
gui/register.h
gui/scrollarea.cpp
@@ -170,14 +186,18 @@ SET(SRCS
gui/sell.h
gui/serverdialog.cpp
gui/serverdialog.h
- gui/setup_audio.cpp
- gui/setup_audio.h
gui/setup.cpp
gui/setup.h
+ gui/setup_audio.cpp
+ gui/setup_audio.h
+ gui/setup_colors.cpp
+ gui/setup_colors.h
gui/setup_joystick.cpp
gui/setup_joystick.h
gui/setup_keyboard.cpp
gui/setup_keyboard.h
+ gui/setup_players.cpp
+ gui/setup_players.h
gui/setuptab.h
gui/setup_video.cpp
gui/setup_video.h
@@ -185,6 +205,10 @@ SET(SRCS
gui/shop.h
gui/shoplistbox.cpp
gui/shoplistbox.h
+ gui/shortcutwindow.cpp
+ gui/shortcutwindow.h
+ gui/shortcutcontainer.cpp
+ gui/shortcutcontainer.h
gui/skill.cpp
gui/skill.h
gui/slider.cpp
@@ -193,6 +217,10 @@ SET(SRCS
gui/speechbubble.h
gui/status.cpp
gui/status.h
+ gui/table.cpp
+ gui/table.h
+ gui/table_model.cpp
+ gui/table_model.h
gui/textbox.cpp
gui/textbox.h
gui/textdialog.cpp
@@ -207,8 +235,6 @@ SET(SRCS
gui/unregisterdialog.h
gui/updatewindow.cpp
gui/updatewindow.h
- gui/vbox.cpp
- gui/vbox.h
gui/viewport.cpp
gui/viewport.h
gui/window.cpp
@@ -225,6 +251,8 @@ SET(SRCS
net/chathandler.h
net/connection.cpp
net/connection.h
+ net/equipmenthandler.cpp
+ net/equipmenthandler.h
net/guildhandler.cpp
net/guildhandler.h
net/internal.cpp
@@ -237,6 +265,8 @@ SET(SRCS
net/loginhandler.h
net/logouthandler.cpp
net/logouthandler.h
+ net/maploginhandler.cpp
+ net/maploginhandler.h
net/messagehandler.cpp
net/messagehandler.h
net/messagein.cpp
@@ -251,7 +281,10 @@ SET(SRCS
net/partyhandler.h
net/playerhandler.cpp
net/playerhandler.h
+ net/protocol.cpp
net/protocol.h
+ net/skillhandler.cpp
+ net/skillhandler.h
net/tradehandler.cpp
net/tradehandler.h
net/effecthandler.cpp
@@ -284,8 +317,12 @@ SET(SRCS
resources/animation.h
resources/buddylist.cpp
resources/buddylist.h
+ resources/colordb.cpp
+ resources/colordb.h
resources/dye.cpp
resources/dye.h
+ resources/emotedb.cpp
+ resources/emotedb.h
resources/image.cpp
resources/image.h
resources/imageloader.cpp
@@ -321,13 +358,12 @@ SET(SRCS
utils/dtor.h
utils/fastsqrt.h
utils/gettext.h
- utils/minmax.h
utils/sha256.h
utils/sha256.cpp
+ utils/stringutils.cpp
+ utils/stringutils.h
utils/strprintf.cpp
utils/strprintf.h
- utils/tostring.h
- utils/trim.h
utils/xml.cpp
utils/xml.h
animatedsprite.cpp
@@ -347,6 +383,10 @@ SET(SRCS
configlistener.h
configuration.cpp
configuration.h
+ effectmanager.cpp
+ effectmanager.h
+ emoteshortcut.cpp
+ emoteshortcut.h
engine.cpp
engine.h
equipment.cpp
@@ -392,10 +432,17 @@ SET(SRCS
openglgraphics.h
particle.cpp
particle.h
+ particlecontainer.cpp
+ particlecontainer.h
particleemitter.cpp
particleemitter.h
+ particleemitterprop.h
+ party.cpp
+ party.h
player.cpp
player.h
+ player_relations.cpp
+ player_relations.h
position.cpp
position.h
properties.h
@@ -407,6 +454,10 @@ SET(SRCS
sound.cpp
sound.h
sprite.h
+ text.cpp
+ text.h
+ textmanager.cpp
+ textmanager.h
textparticle.cpp
textparticle.h
tileset.h
@@ -422,6 +473,7 @@ TARGET_LINK_LIBRARIES(tmw
${SDL_LIBRARY}
${SDLIMAGE_LIBRARY}
${SDLMIXER_LIBRARY}
+ ${SDLNET_LIBRARY}
${SDLTTF_LIBRARY}
${ENET_LIBRARIES}
${PNG_LIBRARIES}