0 Star 0 Fork 0

stormdesign/RealTimeParticles

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
Adrien Moulin 提交于 2022-12-22 18:46 . Macos support for CL-GL interop
cmake_minimum_required(VERSION 3.16)
project(RealTimeParticles VERSION 1.0.1
DESCRIPTION "Minimalist real-time 3D particle system simulator"
HOMEPAGE_URL "https://github.com/axoloto/RealTimeParticles")
message(STATUS "${PROJECT_NAME} v${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
message(STATUS "build type: ${CMAKE_BUILD_TYPE}")
message(STATUS "build folder: ${CMAKE_BUILD_DIR}")
# CMake/C++ options
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# 3rd party deps
include(cmake/Conan.cmake)
run_conan()
# Codebase
add_subdirectory("utils")
add_subdirectory("physics")
add_subdirectory("render")
add_subdirectory("ui")
add_subdirectory("app")
# Packaging
set(CPACK_PACKAGE_VENDOR "Adrien Moulin")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Minimalist real-time 3D particles system simulator")
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
set(CPACK_PACKAGE_DIRECTORY ${CMAKE_INSTALL_DIR})
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README_Installer.txt")
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" DESTINATION .)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README_Installer.txt" DESTINATION .)
include(CPack)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/stormdesign/RealTimeParticles.git
git@gitee.com:stormdesign/RealTimeParticles.git
stormdesign
RealTimeParticles
RealTimeParticles
master

搜索帮助