mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:30:05 +00:00 
			
		
		
		
	Add stb header library for texture atlas dependency
This commit is contained in:
		
							parent
							
								
									4b1d63ea62
								
							
						
					
					
						commit
						365cc7c02c
					
				
					 5 changed files with 13 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							|  | @ -13,3 +13,6 @@ | ||||||
| [submodule "external/freetype-gl"] | [submodule "external/freetype-gl"] | ||||||
| 	path = external/freetype-gl | 	path = external/freetype-gl | ||||||
| 	url = https://github.com/rougier/freetype-gl.git | 	url = https://github.com/rougier/freetype-gl.git | ||||||
|  | [submodule "external/stb"] | ||||||
|  | 	path = external/stb | ||||||
|  | 	url = https://github.com/nothings/stb.git | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								external/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								external/CMakeLists.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -6,8 +6,10 @@ set_property(DIRECTORY | ||||||
|              PROPERTY CMAKE_CONFIGURE_DEPENDS |              PROPERTY CMAKE_CONFIGURE_DEPENDS | ||||||
|              freetype-gl.cmake |              freetype-gl.cmake | ||||||
|              hsluv-c.cmake |              hsluv-c.cmake | ||||||
|              mapbox-gl-native.cmake) |              mapbox-gl-native.cmake | ||||||
|  |              stb.cmake) | ||||||
| 
 | 
 | ||||||
| include(freetype-gl.cmake) | include(freetype-gl.cmake) | ||||||
| include(hsluv-c.cmake) | include(hsluv-c.cmake) | ||||||
| include(mapbox-gl-native.cmake) | include(mapbox-gl-native.cmake) | ||||||
|  | include(stb.cmake) | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								external/stb
									
										
									
									
										vendored
									
									
										Submodule
									
								
							
							
						
						
									
										1
									
								
								external/stb
									
										
									
									
										vendored
									
									
										Submodule
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | Subproject commit 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55 | ||||||
							
								
								
									
										4
									
								
								external/stb.cmake
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								external/stb.cmake
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | ||||||
|  | cmake_minimum_required(VERSION 3.19) | ||||||
|  | set(PROJECT_NAME scwx-stb) | ||||||
|  | 
 | ||||||
|  | set(STB_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/stb PARENT_SCOPE) | ||||||
|  | @ -231,7 +231,8 @@ endif() | ||||||
| 
 | 
 | ||||||
| target_include_directories(scwx-qt PUBLIC ${scwx-qt_SOURCE_DIR}/source | target_include_directories(scwx-qt PUBLIC ${scwx-qt_SOURCE_DIR}/source | ||||||
|                                           ${FTGL_INCLUDE_DIR} |                                           ${FTGL_INCLUDE_DIR} | ||||||
|                                           ${MBGL_INCLUDE_DIR}) |                                           ${MBGL_INCLUDE_DIR} | ||||||
|  |                                           ${STB_INCLUDE_DIR}) | ||||||
| 
 | 
 | ||||||
| target_include_directories(supercell-wx PUBLIC ${scwx-qt_SOURCE_DIR}/source) | target_include_directories(supercell-wx PUBLIC ${scwx-qt_SOURCE_DIR}/source) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat