Buildsystem: Set revision.h as a required dependency build before building game, shared, worldserver and authserver

--HG--
branch : trunk
This commit is contained in:
click
2010-09-25 21:42:11 +02:00
parent 87ff64431c
commit f077277aa1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ add_executable(authserver
${authserver_SRCS}
)
add_dependencies(authserver genrev)
add_dependencies(authserver revision.h)
if( NOT WIN32 )
add_definitions(-D_TRINITY_REALM_CONFIG='"${CONF_DIR}/authserver.conf"')
+1 -1
View File
@@ -198,7 +198,7 @@ include_directories(
add_library(game STATIC ${game_STAT_SRCS})
add_dependencies(game genrev)
add_dependencies(game revision.h)
# Generate precompiled header
if( USE_COREPCH )
+1 -1
View File
@@ -76,7 +76,7 @@ include_directories(
add_library(shared STATIC ${shared_STAT_SRCS})
add_dependencies(shared genrev)
add_dependencies(shared revision.h)
target_link_libraries(shared
${ACE_LIBRARY}
+1 -1
View File
@@ -149,7 +149,7 @@ if( NOT WIN32 )
add_definitions(-D_TRINITY_CORE_CONFIG='"${CONF_DIR}/worldserver.conf"')
endif()
add_dependencies(worldserver genrev)
add_dependencies(worldserver revision.h)
if( UNIX )
set(worldserver_LINK_FLAGS "-pthread -lncurses ${worldserver_LINK_FLAGS}")