1 Star 0 Fork 0

2144/Ogl_Lib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
2144 提交于 2024-03-13 14:52 . 2024-03-13 14:52:37
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)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iamherer/ogl_-l.git
git@gitee.com:iamherer/ogl_-l.git
iamherer
ogl_-l
Ogl_Lib
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385