BuildSystem/Windows: Add RelWithDebInfo configuration-type (reverts previous commit for fixups with RelWithDebInfo buildtype)
+ Stuff revision.h in under genrev project (yay, another project removed from projectlist) --HG-- branch : trunk
This commit is contained in:
@@ -53,7 +53,7 @@ add_executable(authserver
|
||||
${authserver_SRCS}
|
||||
)
|
||||
|
||||
add_dependencies(authserver revision.h)
|
||||
add_dependencies(authserver genrev)
|
||||
|
||||
if( NOT WIN32 )
|
||||
add_definitions(-D_TRINITY_REALM_CONFIG='"${CONF_DIR}/authserver.conf"')
|
||||
|
||||
@@ -192,7 +192,7 @@ include_directories(
|
||||
|
||||
add_library(game STATIC ${game_STAT_SRCS})
|
||||
|
||||
add_dependencies(game revision.h)
|
||||
add_dependencies(game genrev)
|
||||
|
||||
# Generate precompiled header
|
||||
if(PCH)
|
||||
|
||||
@@ -139,6 +139,8 @@ include_directories(
|
||||
|
||||
add_library(scripts STATIC ${scripts_STAT_SRCS})
|
||||
|
||||
add_dependencies(scripts genrev)
|
||||
|
||||
# Generate precompiled header
|
||||
if(PCH)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
@@ -66,7 +66,7 @@ include_directories(
|
||||
|
||||
add_library(shared STATIC ${shared_STAT_SRCS})
|
||||
|
||||
add_dependencies(shared revision.h)
|
||||
add_dependencies(shared genrev)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(shared
|
||||
|
||||
@@ -135,7 +135,7 @@ if( NOT WIN32 )
|
||||
add_definitions(-D_TRINITY_CORE_CONFIG='"${CONF_DIR}/worldserver.conf"')
|
||||
endif()
|
||||
|
||||
add_dependencies(worldserver revision.h)
|
||||
add_dependencies(worldserver genrev)
|
||||
|
||||
if( UNIX )
|
||||
set(worldserver_LINK_FLAGS "-pthread ${worldserver_LINK_FLAGS}")
|
||||
|
||||
Reference in New Issue
Block a user