Buildsystem/CMake: Fix an issue with MSVC not finding git-binary when updating the revisionhash/revisiondate + rename DISABLEGITCHECK parameter to WITHOUT_GIT (to adhere to our standard)

Also cleaned up the checks slightly + moved git-specific testing to its own macro (minor changes to shaurens original patch applied)
This commit is contained in:
click committed 2013-02-11 20:04:27 +01:00
1 parent 620a43b4ef
commit 9bd8baf1ab
5 files changed
+80 -63

No files matched your search

+1 -1
View File
@@ -15,4 +15,4 @@ option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts"
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(DISABLEGITCHECK "Disable the GIT testing routines" 0)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)