Initial support for glTF models

This commit is contained in:
Fernando García Liñán
2021-08-16 17:00:57 +02:00
parent 65483a373f
commit 910225532e
12 changed files with 28867 additions and 1 deletions
+2
View File
@@ -5,3 +5,5 @@ endif()
if (NOT SYSTEM_UDNS)
add_subdirectory(udns)
endif()
add_subdirectory(tiny_gltf)
+16
View File
@@ -0,0 +1,16 @@
add_library(FGTinyGLTF INTERFACE)
target_include_directories(FGTinyGLTF
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)
set_target_properties(FGTinyGLTF PROPERTIES LINKER_LANGUAGE CXX)
# in the non-shared case, we need to export these as well
if (NOT SIMGEAR_SHARED)
install(TARGETS FGTinyGLTF
EXPORT SimGearTargets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
+20406
View File
File diff suppressed because it is too large Load Diff
+7760
View File
File diff suppressed because it is too large Load Diff