1 Star 0 Fork 89

再生的雄鹰/Quick Event

forked from Bruce/Quick Event 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 938 Bytes
一键复制 编辑 原始数据 按行查看 历史
姚欣 提交于 2020-05-12 19:15 . Add gcc support
cmake_minimum_required(VERSION 3.5)
set(QUICK_EVNET_NAME "quickevent")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
#编译动态库或静态库
set(quickevent_BUILD_SHARED_LIBS TRUE)
#可执行文件输出目录
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG
${PROJECT_SOURCE_DIR}/Debug)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE
${PROJECT_SOURCE_DIR}/Release)
#库文件输出目录
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG
${PROJECT_SOURCE_DIR}/Debug)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE
${PROJECT_SOURCE_DIR}/Release)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG
${PROJECT_SOURCE_DIR}/Debug)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE
${PROJECT_SOURCE_DIR}/Release)
#是否编译示例
set(quickevent_BUILD_EXAMPLES ON)
add_subdirectory(event)
if(quickevent_BUILD_EXAMPLES)
add_subdirectory(example)
endif()
add_custom_target(clean-all
COMMAND ${CMAKE_BUILD_TOOL} clean
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/chinauos/Quick-Event.git
[email protected]:chinauos/Quick-Event.git
chinauos
Quick-Event
Quick Event
master

搜索帮助