forked from dolphin-emu/dolphin
		
	OS X uses a case insensitive filesystem by default: when I try to build,
a system header does #include <assert.h>, which picks up
Source/Core/Common/Assert.h.  This only happens because CMakeLists adds
'${PROJECT_BINARY_DIR}/Source/Core/Common' as an include directory: in
an out-of-tree build, that directory contains no other source files, but
in an in-tree build PROJECT_BINARY_DIR is just the source root.
This is only used for scmrev.h.  Change the include directory to
'${PROJECT_BINARY_DIR}/Source/Core' and the include to
"Common/scmrev.h", which is more consistent with normal headers anyway.
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			990 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			990 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2008 Dolphin Emulator Project
 | |
| // Licensed under GPLv2+
 | |
| // Refer to the license.txt file included.
 | |
| 
 | |
| #include "Common/Common.h"
 | |
| #include "Common/scmrev.h"
 | |
| 
 | |
| #ifdef _DEBUG
 | |
| #define BUILD_TYPE_STR "Debug "
 | |
| #elif defined DEBUGFAST
 | |
| #define BUILD_TYPE_STR "DebugFast "
 | |
| #else
 | |
| #define BUILD_TYPE_STR ""
 | |
| #endif
 | |
| 
 | |
| const std::string scm_rev_str = "Dolphin "
 | |
| #if !SCM_IS_MASTER
 | |
|                                 "[" SCM_BRANCH_STR "] "
 | |
| #endif
 | |
| 
 | |
| #ifdef __INTEL_COMPILER
 | |
|     BUILD_TYPE_STR SCM_DESC_STR "-ICC";
 | |
| #else
 | |
|     BUILD_TYPE_STR SCM_DESC_STR;
 | |
| #endif
 | |
| 
 | |
| #ifdef _WIN32
 | |
| const std::string netplay_dolphin_ver = SCM_DESC_STR " Win";
 | |
| #elif __APPLE__
 | |
| const std::string netplay_dolphin_ver = SCM_DESC_STR " Mac";
 | |
| #else
 | |
|     const std::string netplay_dolphin_ver = SCM_DESC_STR " Lin";
 | |
| #endif
 | |
| 
 | |
| const std::string scm_rev_git_str = SCM_REV_STR;
 | |
| 
 | |
| const std::string scm_desc_str = SCM_DESC_STR;
 | |
| const std::string scm_branch_str = SCM_BRANCH_STR;
 | |
| const std::string scm_distributor_str = SCM_DISTRIBUTOR_STR;
 |