mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Initial DO_TOOLS support for cmake
--HG-- branch : trunk
This commit is contained in:
@@ -36,6 +36,7 @@ option(DO_WARN "Enable all compile warnings" 0)
|
||||
option(CENTOS "CENTOS" 0)
|
||||
option(DO_SQL "Copy SQL files" 0)
|
||||
option(DO_PCH "Use precompiled headers" 1)
|
||||
option(DO_TOOLS "Compile tools" 0)
|
||||
|
||||
set(GENREV_SRC
|
||||
src/genrevision/genrevision.cpp
|
||||
@@ -182,11 +183,9 @@ set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
#add_subdirectory(doc)
|
||||
add_subdirectory(dep)
|
||||
add_subdirectory(src)
|
||||
if(DO_SQL)
|
||||
message("* Copy SQL files ON")
|
||||
add_subdirectory(sql)
|
||||
endif(DO_SQL)
|
||||
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
add_subdirectory(server)
|
||||
|
||||
if(DO_TOOLS)
|
||||
add_subdirectory(tools)
|
||||
endif(DO_TOOLS)
|
||||
|
||||
|
||||
3
src/tools/CMakeLists.txt
Normal file
3
src/tools/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
add_subdirectory(map_extractor)
|
||||
add_subdirectory(vmap3_assembler)
|
||||
add_subdirectory(vmap3_extractor)
|
||||
Reference in New Issue
Block a user