Skip to content

Commit

Permalink
CMake/Revision: Use raw strings in path/executable #defines
Browse files Browse the repository at this point in the history
Fixes some possible warnings (e.g. "warning C4129: 's': unrecognized character escape sequence")
especially on Windows
  • Loading branch information
DDuarte committed Mar 2, 2016
1 parent a939a31 commit 849c906
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions revision_data.h.in.cmake
Expand Up @@ -4,9 +4,9 @@
#define _DATE "@rev_date@"
#define _BRANCH "@rev_branch@"
#define _CMAKE_COMMAND "@CMAKE_COMMAND@"
#define _SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@"
#define _BUILD_DIRECTORY "@BUILDDIR@"
#define _MYSQL_EXECUTABLE "@MYSQL_EXECUTABLE@"
#define _SOURCE_DIRECTORY R"(@CMAKE_SOURCE_DIR@)"
#define _BUILD_DIRECTORY R"(@BUILDDIR@)"
#define _MYSQL_EXECUTABLE R"(@MYSQL_EXECUTABLE@)"
#define _FULL_DATABASE "TDB_full_world_6.03_2015_11_08.sql"
#define _HOTFIXES_DATABASE "TDB_full_hotfixes_6.03_2015_11_08.sql"
#define VER_COMPANYNAME_STR "TrinityCore Developers"
Expand Down

0 comments on commit 849c906

Please sign in to comment.