mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	fixes to scm_rev generation to make it conistent with windows build
This commit is contained in:
		
							parent
							
								
									121960a2eb
								
							
						
					
					
						commit
						80a040ac77
					
				
					 4 changed files with 34 additions and 5 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/scm_rev.cpp" @ONLY) | ||||
| configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp" @ONLY) | ||||
| 
 | ||||
| set(SRCS    break_points.cpp | ||||
|             console_listener.cpp | ||||
|  | @ -13,10 +13,10 @@ set(SRCS    break_points.cpp | |||
|             misc.cpp | ||||
|             msg_handler.cpp | ||||
|             string_util.cpp | ||||
|             scm_rev.cpp | ||||
|             symbols.cpp | ||||
|             thread.cpp | ||||
|             timer.cpp | ||||
|             utf8.cpp | ||||
|             ${CMAKE_CURRENT_BINARY_DIR}/scm_rev.cpp) | ||||
|             utf8.cpp) | ||||
| 
 | ||||
| add_library(common STATIC ${SRCS}) | ||||
|  |  | |||
|  | @ -5,13 +5,13 @@ | |||
| #include "common/scm_rev.h" | ||||
| 
 | ||||
| #define GIT_REV      "@GIT_REV@" | ||||
| #define GIT_REF_SPEC "@GIT_REF_SPEC@" | ||||
| #define GIT_BRANCH   "@GIT_BRANCH@" | ||||
| #define GIT_DESC     "@GIT_DESC@" | ||||
| 
 | ||||
| namespace Common { | ||||
| 
 | ||||
| const char g_scm_rev[]      = GIT_REV; | ||||
| const char g_scm_ref_spec[] = GIT_REF_SPEC; | ||||
| const char g_scm_ref_spec[] = GIT_BRANCH; | ||||
| const char g_scm_desc[]     = GIT_DESC; | ||||
| 
 | ||||
| } // namespace
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue