打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
cmake 中的 variables
  • EXECUTABLE_OUTPUT_PATH 已过时,使用target 属性 RUNTIME_OUTPUT_DIRECTORY 。
  • LIBRARY_OUTPUT_PATH 已过时,使用target 属性 ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, 和 RUNTIME_OUTPUT_DIRECTORY。
  • CMAKE_BUILD_TYPE 构建类型,可能的值有:空, Debug, Release, RelWithDebInfo 和 MinSizeRel。
  • CMAKE_BINARY_DIR This is the full path to the top level of the current CMake build tree.
  • CMAKE_CURRENT_BINARY_DIR This the full path to the build directory that is currently being processed by cmake.
  • PROJECT_BINARY_DIR This is the binary directory of the most recent PROJECT command.
  • [Project name]_BINARY_DIR Top level binary directory for the named project.
  • CMAKE_SOURCE_DIR This is the full path to the top level of the current CMake source tree.
  • CMAKE_CURRENT_SOURCE_DIR This the full path to the source directory that is currently being processed by cmake.
  • PROJECT_SOURCE_DIR This is the source directory of the most recent PROJECT command.
  • [Project name]_SOURCE_DIR Top level source directory for the named project.
    本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
    打开APP,阅读全文并永久保存 查看更多类似文章
    猜你喜欢
    类似文章
    【热】打开小程序,算一算2024你的财运
    CMake学习
    一文详解CMakeLists文件编写语法规则详解
    CMakeLists
    cmake总结
    CMake PROJECT
    CMake编译linux C++
    更多类似文章 >>
    生活服务
    热点新闻
    分享 收藏 导长图 关注 下载文章
    绑定账号成功
    后续可登录账号畅享VIP特权!
    如果VIP功能使用有故障,
    可点击这里联系客服!

    联系客服