Buildsystem: Set revision.h as a required dependency build before building game, shared, worldserver and authserver
--HG-- branch : trunk
This commit is contained in:
@@ -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"')
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user