Skip to content

Commit

Permalink
Revert "Solucionado ID generacion, añadido nombre proyecto correspon…
Browse files Browse the repository at this point in the history
…diente."

This reverts commit ed70643.
  • Loading branch information
Retriman committed Jun 23, 2011
1 parent ed70643 commit 66b9062
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion cmake/genrev.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ find_program(_GIT_EXEC
)

if(_GIT_EXEC)
set(rev_info "${REV_INFO}")
execute_process(
COMMAND "${_GIT_EXEC}" --version
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
OUTPUT_VARIABLE _GIT_VERSION
ERROR_QUIET
)

# make sure we're using minimum the required version of git, so the "dirty-testing" will work properly
ensure_version( "${_REQUIRED_GIT_VERSION}" "${_GIT_VERSION}" _GIT_VERSION_OK)
Expand Down
2 changes: 1 addition & 1 deletion src/genrev/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

# Need to pass old ${CMAKE_BINARY_DIR} as param because its different at build stage
add_custom_target(revision.h ALL
COMMAND ${CMAKE_COMMAND} -DBUILDDIR=${CMAKE_BINARY_DIR} -DREV_INFO=${REV_INFO} -P ${CMAKE_SOURCE_DIR}/cmake/genrev.cmake
COMMAND ${CMAKE_COMMAND} -DBUILDDIR=${CMAKE_BINARY_DIR} -P ${CMAKE_SOURCE_DIR}/cmake/genrev.cmake
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
2 changes: 1 addition & 1 deletion src/server/shared/SystemConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "Define.h"
#include "revision.h"

#define _PACKAGENAME "MadboxPcCore "
#define _PACKAGENAME "TrinityCore "

#if TRINITY_ENDIAN == TRINITY_BIGENDIAN
# define _ENDIAN_STRING "big-endian"
Expand Down

0 comments on commit 66b9062

Please sign in to comment.