mirror of
				https://github.com/aelurum/AssetStudio.git
				synced 2025-10-30 15:05:03 -04:00 
			
		
		
		
	Add CMakeLists for cross platform FBXNative build
This commit is contained in:
		
							
								
								
									
										22
									
								
								AssetStudioFBXNative/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								AssetStudioFBXNative/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| # Set the minimum version of CMake that can be used | ||||
| cmake_minimum_required (VERSION 3.8) | ||||
|  | ||||
| # Set the project name | ||||
| project("AssetStudioFBXNative") | ||||
|  | ||||
| # Set the C++ standard to C++ 14 | ||||
| set(CMAKE_CXX_STANDARD 14) | ||||
|  | ||||
| # Generate the shared library from the library sources | ||||
| add_library(AssetStudioFBXNative SHARED | ||||
|     asfbx_skin_context.cpp | ||||
|     asfbx_morph_context.cpp | ||||
|     api.cpp | ||||
|     utils.cpp | ||||
|     asfbx_context.cpp | ||||
|     asfbx_anim_context.cpp) | ||||
|  | ||||
| # Add the given directories to those the compiler uses to search for include files | ||||
| target_include_directories(AssetStudioFBXNative PRIVATE .) | ||||
|  | ||||
| target_link_libraries(AssetStudioFBXNative PRIVATE fbxsdk xml2) | ||||
		Reference in New Issue
	
	Block a user