mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	fix build error on Windows
This commit is contained in:
		
							parent
							
								
									f5d82ee906
								
							
						
					
					
						commit
						8127f27d79
					
				
					 4 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -103,8 +103,8 @@ endif()
 | 
			
		|||
# Create a slic3r executable
 | 
			
		||||
# Process mainfests for various platforms.
 | 
			
		||||
set(MACOSX_BUNDLE_COPYRIGHT "Copyright(C) 2022-2023 Li Jiang All Rights Reserved")
 | 
			
		||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/BambuStudio.rc.in ${CMAKE_CURRENT_BINARY_DIR}/OrcaSlicer.rc @ONLY)
 | 
			
		||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/BambuStudio.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/OrcaSlicer.manifest @ONLY)
 | 
			
		||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/OrcaSlicer.rc.in ${CMAKE_CURRENT_BINARY_DIR}/OrcaSlicer.rc @ONLY)
 | 
			
		||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/OrcaSlicer.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/OrcaSlicer.manifest @ONLY)
 | 
			
		||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/osx/Info.plist.in ${CMAKE_CURRENT_BINARY_DIR}/Info.plist @ONLY)
 | 
			
		||||
if (WIN32)
 | 
			
		||||
    add_library(OrcaSlicer SHARED BambuStudio.cpp BambuStudio.hpp BaseException.cpp BaseException.h StackWalker.cpp StackWalker.h)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,13 +6,13 @@ PRODUCTVERSION @SLIC3R_VERSION@
 | 
			
		|||
 {
 | 
			
		||||
  BLOCK "040904E4"
 | 
			
		||||
  {
 | 
			
		||||
   VALUE "CompanyName", "Bambu Research"
 | 
			
		||||
   VALUE "CompanyName", "SoftFever"
 | 
			
		||||
   VALUE "FileDescription", "@SLIC3R_APP_NAME@ G-code Viewer"
 | 
			
		||||
   VALUE "FileVersion", "@SLIC3R_BUILD_ID@"
 | 
			
		||||
   VALUE "ProductName", "@SLIC3R_APP_NAME@ G-code Viewer"
 | 
			
		||||
   VALUE "ProductVersion", "@SLIC3R_BUILD_ID@"
 | 
			
		||||
   VALUE "InternalName", "@SLIC3R_APP_NAME@ G-code Viewer"
 | 
			
		||||
   VALUE "LegalCopyright", "Copyright(C) 2021-2023 Lunkuo All Rights Reserved"
 | 
			
		||||
   VALUE "LegalCopyright", ""
 | 
			
		||||
   VALUE "OriginalFilename", "bambu-gcodeviewer.exe"
 | 
			
		||||
  }
 | 
			
		||||
 }
 | 
			
		||||
| 
						 | 
				
			
			@ -22,4 +22,4 @@ PRODUCTVERSION @SLIC3R_VERSION@
 | 
			
		|||
 }
 | 
			
		||||
}
 | 
			
		||||
2 ICON "@SLIC3R_RESOURCES_DIR@/images/BambuStudio-gcodeviewer.ico"
 | 
			
		||||
1 24 "BambuStudio.manifest" 
 | 
			
		||||
1 24 "OrcaSlicer.manifest" 
 | 
			
		||||
| 
						 | 
				
			
			@ -6,13 +6,13 @@ PRODUCTVERSION @SLIC3R_VERSION@
 | 
			
		|||
 {
 | 
			
		||||
  BLOCK "040904E4"
 | 
			
		||||
  {
 | 
			
		||||
   VALUE "CompanyName", "Bambu Research"
 | 
			
		||||
   VALUE "CompanyName", "SoftFever"
 | 
			
		||||
   VALUE "FileDescription", "@SLIC3R_APP_NAME@"
 | 
			
		||||
   VALUE "FileVersion", "@SLIC3R_BUILD_ID@"
 | 
			
		||||
   VALUE "ProductName", "@SLIC3R_APP_NAME@"
 | 
			
		||||
   VALUE "ProductVersion", "@SLIC3R_BUILD_ID@"
 | 
			
		||||
   VALUE "InternalName", "@SLIC3R_APP_NAME@"
 | 
			
		||||
   VALUE "LegalCopyright", "Copyright(C) 2021-2023 Lunkuo All Rights Reserved"
 | 
			
		||||
   VALUE "LegalCopyright", ""
 | 
			
		||||
   VALUE "OriginalFilename", "orca-slicer.exe"
 | 
			
		||||
  }
 | 
			
		||||
 }
 | 
			
		||||
| 
						 | 
				
			
			@ -22,4 +22,4 @@ PRODUCTVERSION @SLIC3R_VERSION@
 | 
			
		|||
 }
 | 
			
		||||
}
 | 
			
		||||
2 ICON "@SLIC3R_RESOURCES_DIR@/images/OrcaSlicer.ico"
 | 
			
		||||
1 24 "BambuStudio.manifest" 
 | 
			
		||||
1 24 "OrcaSlicer.manifest" 
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue