summaryrefslogtreecommitdiff
path: root/src/map/CMakeLists.txt
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-06 20:40:38 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-06 20:40:38 +0000
commit482beafefb9c50e5c1d3d16fd69b88cf2c9e84db (patch)
tree79b02817ddb47fc28e67aeb63fb1c1e29482d597 /src/map/CMakeLists.txt
parent37377cfe2c7a46d23e44d0f67606c360008167b2 (diff)
downloadhercules-482beafefb9c50e5c1d3d16fd69b88cf2c9e84db.tar.gz
hercules-482beafefb9c50e5c1d3d16fd69b88cf2c9e84db.tar.bz2
hercules-482beafefb9c50e5c1d3d16fd69b88cf2c9e84db.tar.xz
hercules-482beafefb9c50e5c1d3d16fd69b88cf2c9e84db.zip
* CMake: src/common builds static libraries common_base/common_sql, that are used as dependencies by the other targets.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14889 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/CMakeLists.txt')
-rw-r--r--src/map/CMakeLists.txt67
1 files changed, 1 insertions, 66 deletions
diff --git a/src/map/CMakeLists.txt b/src/map/CMakeLists.txt
index 4ff85fa19..9199702be 100644
--- a/src/map/CMakeLists.txt
+++ b/src/map/CMakeLists.txt
@@ -2,72 +2,7 @@
#
# setup
#
-set( MT19937AR_SOURCES
- "${MT19937AR_SOURCE_DIR}/mt19937ar.c"
- )
-set( COMMON_SOURCES
- "${COMMON_SOURCE_DIR}/core.c"
- "${COMMON_SOURCE_DIR}/db.c"
- "${COMMON_SOURCE_DIR}/ers.c"
- "${COMMON_SOURCE_DIR}/grfio.c"
- "${COMMON_SOURCE_DIR}/lock.c"
- "${COMMON_SOURCE_DIR}/malloc.c"
- "${COMMON_SOURCE_DIR}/mapindex.c"
- "${COMMON_SOURCE_DIR}/md5calc.c"
- "${COMMON_SOURCE_DIR}/nullpo.c"
- "${COMMON_SOURCE_DIR}/plugins.c"
- "${COMMON_SOURCE_DIR}/random.c"
- "${COMMON_SOURCE_DIR}/showmsg.c"
- "${COMMON_SOURCE_DIR}/socket.c"
- "${COMMON_SOURCE_DIR}/strlib.c"
- "${COMMON_SOURCE_DIR}/timer.c"
- "${COMMON_SOURCE_DIR}/utils.c"
- )
-set( COMMON_SQL_SOURCES
- "${COMMON_SOURCE_DIR}/sql.c"
- )
-set( MAP_SOURCES
- "${CMAKE_CURRENT_SOURCE_DIR}/atcommand.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/battle.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/battleground.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/buyingstore.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/chat.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/chrif.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/clif.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/date.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/duel.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/guild.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/homunculus.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/instance.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/intif.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/itemdb.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/log.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/mail.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/map.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/mercenary.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/mob.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/npc.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/npc_chat.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/party.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/path.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/pc.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/pet.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/quest.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/script.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/searchstore.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/skill.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/status.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/storage.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/trade.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/unit.c"
- "${CMAKE_CURRENT_SOURCE_DIR}/vending.c"
- )
-set( MAP_TXT_SOURCES
- "${CMAKE_CURRENT_SOURCE_DIR}/mapreg_txt.c"
- )
-set( MAP_SQL_SOURCES
- "${CMAKE_CURRENT_SOURCE_DIR}/mapreg_sql.c"
- )
+set( MAP_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} )
#