代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.15.0)
project(fxcc)
set(CMAKE_CXX_STANDARD 17)
message("Build CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR} ")
include_directories(${CMAKE_SOURCE_DIR})
# include_directories()
include(FetchContent)
# FetchContent_Declare(
# imgui
# GIT_REPOSITORY git@gitee.com:zhouxs1023/imgui.git
# GIT_TAG docking
# )
# FetchContent_MakeAvailable(imgui)
FetchContent_Declare(
stb
GIT_REPOSITORY git@gitee.com:ddaren/stb.git
)
FetchContent_MakeAvailable(stb)
include_directories(${stb_SOURCE_DIR})
# FetchContent_Declare(
# assimp
# GIT_REPOSITORY git@gitee.com:github-transport/assimp.git
# GIT_TAG v5.2.0
# )
# FetchContent_MakeAvailable(assimp)
add_subdirectory(core)
add_subdirectory(platform)
add_subdirectory(audio)
set(FXCC_BUILD_GRAPH_GLFW_OPENGL3 ON)
add_subdirectory(graph)
# if(UNIX)
# set(DEP_PATH /usr/local)
# endif()
# set(CMAKE_INSTALL_INCLUDEDIR ${DEP_PATH}/include)
# set(CMAKE_INSTALL_LIBDIR ${DEP_PATH}/lib)
# install(TARGETS web
# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
# )
# install(DIRECTORY include
# DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
# add_subdirectory(test)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。