[8587] MaNGOS 0.14 release.
[getmangos.git] / contrib / extractor / CMakeLists.txt
blob9052903b1edb3cda8b73eca23c47b2a4804f5aba
1 # Copyright (C) 2005-2009 MaNGOS project <http://getmangos.com/>
3 # This file is free software; as a special exception the author gives
4 # unlimited permission to copy and/or distribute it, with or without
5 # modifications, as long as this notice is preserved.
7 # This program is distributed in the hope that it will be useful, but
8 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 cmake_minimum_required (VERSION 2.6)
12 project (MANGOS_MAP_EXTRACTOR)
14 add_subdirectory (libmpq)
15 add_subdirectory (loadlib)
17 include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq) 
18 include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib) 
20 link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq) 
21 link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib) 
23 add_executable (ad dbcfile.cpp mpq_libmpq.cpp System.cpp)
25 target_link_libraries (ad libmpq)
26 target_link_libraries (ad loadlib)