 9bb10d27e7
			
		
	
	9bb10d27e7
	
	
	
		
			
			The "git.rc" is used on Windows to embed information like the project name and version into the resulting executables. As such we need to inject the version information, which we do by using preprocessor defines. The logic to do so is non-trivial and needs to be kept in sync with the different build systems. Refactor the logic so that we generate "git.rc" via `GIT-VERSION-GEN`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			734 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			734 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 1 VERSIONINFO
 | |
| FILEVERSION     @GIT_MAJOR_VERSION@,@GIT_MINOR_VERSION@,@GIT_MICRO_VERSION@,@GIT_PATCH_LEVEL@
 | |
| PRODUCTVERSION  @GIT_MAJOR_VERSION@,@GIT_MINOR_VERSION@,@GIT_MICRO_VERSION@,@GIT_PATCH_LEVEL@
 | |
| BEGIN
 | |
|   BLOCK "StringFileInfo"
 | |
|   BEGIN
 | |
|     BLOCK "040904b0"   /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
 | |
|     BEGIN
 | |
|       VALUE "CompanyName", "The Git Development Community\0"
 | |
|       VALUE "FileDescription", "Git for Windows\0"
 | |
|       VALUE "InternalName", "git\0"
 | |
|       VALUE "OriginalFilename", "git.exe\0"
 | |
|       VALUE "ProductName", "Git\0"
 | |
|       VALUE "ProductVersion", "@GIT_VERSION@\0"
 | |
|     END
 | |
|   END
 | |
| 
 | |
|   BLOCK "VarFileInfo"
 | |
|   BEGIN
 | |
|     VALUE "Translation", 0x409, 1200
 | |
|   END
 | |
| END
 | |
| 
 | |
| 1 RT_MANIFEST "compat/win32/git.manifest"
 |