summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 02:36:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 02:36:56 +0300
commita7f558d18bb10042a27be503c329167a856b8a80 (patch)
tree8d1fce7cf724e970cc3f7d8e4ce188b43824876e
parent2f8aef9af803fabdf1b53be0ea59028aef94dbcd (diff)
downloadmanaverse-a7f558d18bb10042a27be503c329167a856b8a80.tar.gz
manaverse-a7f558d18bb10042a27be503c329167a856b8a80.tar.bz2
manaverse-a7f558d18bb10042a27be503c329167a856b8a80.tar.xz
manaverse-a7f558d18bb10042a27be503c329167a856b8a80.zip
Remove manaserv files from cmake.
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt77
2 files changed, 5 insertions, 73 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4910b551..57fa09ba2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,6 @@ FIND_PACKAGE(Gettext)
OPTION(WITH_OPENGL "Enable OpenGL support" ON)
OPTION(ENABLE_NLS "Enable building of tranlations" ON)
-OPTION(ENABLE_MANASERV "Enable Manaserv support" OFF)
OPTION(ENABLE_EATHENA "Enable eAthena support" ON)
IF (WIN32)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 169f8babf..ef635351a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,10 +22,6 @@ IF (ENABLE_NLS)
SET(FLAGS "${FLAGS} -DENABLE_NLS=1")
ENDIF()
-IF (ENABLE_MANASERV)
- SET(FLAGS "${FLAGS} -DMANASERV_SUPPORT=1")
-ENDIF()
-
IF (ENABLE_EATHENA)
SET(FLAGS "${FLAGS} -DEATHENA_SUPPORT=1")
ENDIF()
@@ -879,61 +875,6 @@ SET(SRCS_EATHENA
net/eathena/tradehandler.h
)
-SET(SRCS_MANASERV
- net/manaserv/attributes.cpp
- net/manaserv/attributes.h
- net/manaserv/adminhandler.cpp
- net/manaserv/adminhandler.h
- net/manaserv/beinghandler.cpp
- net/manaserv/beinghandler.h
- net/manaserv/buysellhandler.cpp
- net/manaserv/buysellhandler.h
- net/manaserv/charhandler.cpp
- net/manaserv/charhandler.h
- net/manaserv/chathandler.cpp
- net/manaserv/chathandler.h
- net/manaserv/connection.cpp
- net/manaserv/connection.h
- net/manaserv/defines.h
- net/manaserv/effecthandler.cpp
- net/manaserv/effecthandler.h
- net/manaserv/gamehandler.cpp
- net/manaserv/gamehandler.h
- net/manaserv/generalhandler.cpp
- net/manaserv/generalhandler.h
- net/manaserv/guildhandler.cpp
- net/manaserv/guildhandler.h
- net/manaserv/internal.cpp
- net/manaserv/internal.h
- net/manaserv/inventoryhandler.cpp
- net/manaserv/inventoryhandler.h
- net/manaserv/itemhandler.h
- net/manaserv/itemhandler.cpp
- net/manaserv/loginhandler.cpp
- net/manaserv/loginhandler.h
- net/manaserv/messagehandler.cpp
- net/manaserv/messagehandler.h
- net/manaserv/messagein.cpp
- net/manaserv/messagein.h
- net/manaserv/messageout.cpp
- net/manaserv/messageout.h
- net/manaserv/network.cpp
- net/manaserv/network.h
- net/manaserv/npchandler.cpp
- net/manaserv/npchandler.h
- net/manaserv/partyhandler.cpp
- net/manaserv/partyhandler.h
- net/manaserv/playerhandler.cpp
- net/manaserv/playerhandler.h
- net/manaserv/protocol.h
- net/manaserv/specialhandler.cpp
- net/manaserv/specialhandler.h
- net/manaserv/tradehandler.cpp
- net/manaserv/tradehandler.h
- resources/specialdb.cpp
- resources/specialdb.h
- )
-
IF (WIN32)
SET(SRCS
${SRCS}
@@ -945,19 +886,11 @@ ENDIF ()
SET (PROGRAMS manaplus)
-IF (ENABLE_MANASERV)
- IF (ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_MANASERV} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
- ELSE(ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_MANASERV} ${SRCS_TMWA} ${SRCS_EVOL})
- ENDIF(ENABLE_EATHENA)
-ELSE(ENABLE_MANASERV)
- IF (ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
- ELSE(ENABLE_EATHENA)
- ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_TMWA} ${SRCS_EVOL})
- ENDIF(ENABLE_EATHENA)
-ENDIF(ENABLE_MANASERV)
+IF (ENABLE_EATHENA)
+ ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_EATHENA} ${SRCS_TMWA} ${SRCS_EVOL})
+ELSE(ENABLE_EATHENA)
+ ADD_EXECUTABLE(manaplus WIN32 ${SRCS_GUICHAN} ${SRCS} ${SRCS_TMWA} ${SRCS_EVOL})
+ENDIF(ENABLE_EATHENA)
TARGET_LINK_LIBRARIES(manaplus
${SDLGFX_LIBRARIES}