当前位置:网站首页>cmake记录
cmake记录
2022-08-10 15:36:00 【洪大宇】
add_custom_command(TARGET ${TARGETS} POST_BUILD
COMMAND cp ${PROJECT_SOURCE_DIR}/build/compile_commands.json ${PROJECT_SOURCE_DIR} && sed -i 's/-mcpu=cortex-a72.cortex-a53/-mcpu=cortex-a53/g' ${PROJECT_SOURCE_DIR}/compile_commands.json)
cmake doxygen use
if(DOC_ENABLE)
find_package(Doxygen)
if(DOXYGEN_FOUND)
set(DOXYGEN_IN ${CMAKE_CURRENT_LIST_DIR}/docs/Doxyfile.in)
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
add_custom_target( docs ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen"
VERBATIM )
endif(DOXYGEN_FOUND)
endif(DOC_ENABLE)
边栏推荐
猜你喜欢
8月Meetup | “数据调度+分析引擎”解锁企业数字化转型之路
Community News——Congratulations to Dolphin Scheduling China User Group for 9 new "Community Administrators"
web安全入门-Kill Chain测试流程
一文带你了解 HONOR Connect
Yi Gene|In-depth review: epigenetic regulation of m6A RNA methylation in brain development and disease
Colocate Join :ClickHouse的一种高性能分布式join查询模型
不爱生活的段子手不是好设计师|ONES 人物
使用 ABAP 正则表达式解析 uuid 的值
Parse the value of uuid using ABAP regular expressions
storage of data in memory
随机推荐
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 7
Data Types and Integer Storage
Servlet简单项目操作
Network engineer's backpack (EDC summary recommendation)
并发容器线程安全应对之道
关于“算力”,这篇文章值得一看
Programmer = overtime??- Master the time to master the life
Detailed understanding of anonymous functions and all built-in functions (Part 2)
Lilac Garden
潜水员 ← 二维费用的背包问题
Colocate Join :ClickHouse的一种高性能分布式join查询模型
NFT digital collection development issue - digital collection platform
Cesium Quick Start 4-Polylines primitive usage explanation
SWIG Tutorial "One"
Appium for APP automation testing
容器化 | 在 S3 实现定时备份
QOS function introduction
Chapter II Module Encyclopedia "collections Module"
一个 ABAP 工具,能打印系统里某个用户对 BSP 应用的浏览历史记录
华为云DevCloud获信通院首批云原生技术架构成熟度评估的最高级认证