Files
TCPlayerbotCore/revision.h.in.cmake
T
click b87d8f4700 Buildsystem: Overhaul of the CMake buildsystem:
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets):
  - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree
  - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode)
  - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition
- delete genrev and related buildsystems
  (now deprecated)
- Move some files around to adhere to buildsystem structure
Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower

--HG--
branch : trunk
rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-29 23:42:09 +02:00

10 lines
359 B
CMake

#ifndef __REVISION_H__
#define __REVISION_H__
#define _REVISION "@hg_rev_id_str@"
#define _HASH "@hg_rev_hash_str@"
#define FILEVER 0,0,@hg_rev_id@,0
#define PRODUCTVER 0,0,@hg_rev_id@,0
#define STRFILEVER "0, 0, @hg_rev_id@, @hg_rev_hash@"
#define STRPRODUCTVER "0, 0, @hg_rev_id@, @hg_rev_hash@"
#endif // __REVISION_H__