mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Precompiled headers on Visual Studio & GCC, with the highest hopes
that it will not break the build server.
This commit is contained in:
		
							parent
							
								
									35d984b812
								
							
						
					
					
						commit
						5377304b0c
					
				
					 8 changed files with 652 additions and 119 deletions
				
			
		|  | @ -1,9 +1,13 @@ | |||
| project(libslic3r) | ||||
| cmake_minimum_required(VERSION 2.6) | ||||
| 
 | ||||
| include(PrecompiledHeader) | ||||
| 
 | ||||
| configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libslic3r_version.h.in ${CMAKE_CURRENT_BINARY_DIR}/libslic3r_version.h @ONLY) | ||||
| 
 | ||||
| add_library(libslic3r STATIC | ||||
|     pchheader.cpp | ||||
|     pchheader.hpp | ||||
|     BoundingBox.cpp | ||||
|     BoundingBox.hpp | ||||
|     BridgeDetector.cpp | ||||
|  | @ -151,6 +155,8 @@ add_library(libslic3r STATIC | |||
|     Utils.hpp | ||||
| ) | ||||
| 
 | ||||
| add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE) | ||||
| 
 | ||||
| target_compile_definitions(libslic3r PUBLIC -DUSE_TBB ${PNG_DEFINITIONS}) | ||||
| target_include_directories(libslic3r PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${LIBNEST2D_INCLUDES} ${PNG_INCLUDE_DIRS}) | ||||
| target_link_libraries(libslic3r | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv