1 Star 0 Fork 0

2144/ogl_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
2144 提交于 2024-09-18 12:26 . s
cmake_minimum_required(VERSION 3.5.0)
project(ogl)
set(CMAKE_CXX_STANDARD 17)
add_subdirectory(ogl)
target_include_directories(ogl-gut PUBLIC ./)
target_include_directories(ogl-math PUBLIC ./)
target_include_directories(ogl-gut PUBLIC include)
# if(UNIX)
# set(DEP_PATH /usr/local)
# endif()
# set(CMAKE_INSTALL_INCLUDEDIR ${DEP_PATH})
# set(CMAKE_INSTALL_LIBDIR ${DEP_PATH}/lib)
# install(TARGETS ogl-gut
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-font
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-phong
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-model
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-math
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-depth
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-debug
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-pbrx
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(TARGETS ogl-pbrx
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(DIRECTORY ogl
# DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iamherer/ogl_.git
git@gitee.com:iamherer/ogl_.git
iamherer
ogl_
ogl_1
master

搜索帮助