代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.13.0)
project(Ogl)
set(CMAKE_CXX_STANDARD 17)
# depdency
add_subdirectory(dep)
add_subdirectory(Gut)
set(gut_include_dirs dep/glm dep/glfw/include dep/glfw/deps)
target_include_directories(ogl-gut PUBLIC ${gut_include_dirs})
target_link_libraries(ogl-gut PUBLIC glfw)
add_subdirectory(Math )
set(math_include_dirs dep/glm)
target_include_directories(ogl-math PUBLIC ${math_include_dirs})
add_subdirectory(imgui)
set(imgui_include_dirs dep/glfw/include)
target_include_directories(ogl-imgui PUBLIC ${imgui_include_dirs})
target_link_libraries(ogl-imgui PUBLIC ogl-gut)
add_subdirectory(Model)
set(model_include_dirs dep/glm)
target_include_directories(ogl-model PUBLIC ${model_include_dirs})
# set(model_fbx_include_dirs dep/glm dep/assimp/include)
# find_package(assimp)
# target_include_directories(ogl-model-fbx PUBLIC ${model_fbx_include_dirs})
# target_link_libraries(ogl-model-fbx PUBLIC assimp)
add_subdirectory(Physics)
set(physics_include_dirs dep/glm)
find_package(reactphysics3d)
target_include_directories(ogl-physics PUBLIC ${physics_include_dirs})
target_link_libraries(ogl-physics PUBLIC reactphysics3d)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。