restore work scripts in *nix system

--HG--
branch : trunk
This commit is contained in:
win32
2010-01-21 08:23:30 +02:00
parent e21081172c
commit ce620223eb
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -88,6 +88,13 @@ IF(DO_MYSQL)
ADD_DEFINITIONS(-DDO_MYSQL) ADD_DEFINITIONS(-DDO_MYSQL)
ENDIF(DO_MYSQL) ENDIF(DO_MYSQL)
if(DO_SCRIPTS)
message("* With Trinity Scripts")
ADD_DEFINITIONS(-DDO_SCRIPTS)
else (DO_SCRIPTS)
message("* Without Trinity Scripts")
endif(DO_SCRIPTS)
message("-- Miscellaneus options:") message("-- Miscellaneus options:")
if(DO_CLI) if(DO_CLI)
+2
View File
@@ -853,6 +853,8 @@ if (DO_SCRIPTS)
../scripts/world/npcs_special.cpp ../scripts/world/npcs_special.cpp
../scripts/world/npc_taxi.cpp ../scripts/world/npc_taxi.cpp
) )
add_definitions(-D_TRINITY_SCRIPT_CONFIG='"${CONF_DIR}/trinitycore.conf"')
endif (DO_SCRIPTS) endif (DO_SCRIPTS)
add_library(game STATIC ${game_STAT_SRCS}) add_library(game STATIC ${game_STAT_SRCS})