starfix: HoR fix!!! wave+team check fix+2 bos jalan...kurang LK nya + PR:lootannya...
[st4rcore.git] / dep / CMakeLists.txt
blob3e4060af44694ff161fba7d2aea81466358f0a86
1 # Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
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 if( CMAKE_COMPILER_IS_GNUCXX )
12   add_definitions(--no-warnings)
13 elseif( MSVC )
14   add_definitions(/W0)
15 endif()
17 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
18   if(SERVERS)
19     add_subdirectory(jemalloc)
20   endif()
21 endif()
23 if(CMAKE_SYSTEM_NAME MATCHES "Windows")
24   if(SERVERS)
25     add_subdirectory(acelite)
26     if(USE_MYSQL_SOURCES)
27       add_subdirectory(mysqllite)
28     endif()
29   endif()
30   add_subdirectory(bzip2)
31   add_subdirectory(zlib)
32 endif()
34 add_subdirectory(g3dlite)
36 if(SERVERS)
37   add_subdirectory(gsoap)
38 endif()
40 if(TOOLS)
41   add_subdirectory(libmpq)
42 endif()