mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	CMake build system: Made the Release build default
This commit is contained in:
		
							parent
							
								
									9620596d59
								
							
						
					
					
						commit
						81e2c6f2db
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,11 @@ cmake_minimum_required(VERSION 2.8)
 | 
			
		|||
 | 
			
		||||
project(Slic3r)
 | 
			
		||||
 | 
			
		||||
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
 | 
			
		||||
  message(STATUS "No build type selected, default to Release")
 | 
			
		||||
  set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type (default Release)" FORCE)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if (MSVC OR MINGW OR APPLE)
 | 
			
		||||
	set(SLIC3R_STATIC_INITIAL 1)
 | 
			
		||||
else ()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue