Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新cmake脚本, 便于支持find_package #1774

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

zjyhjqs
Copy link

@zjyhjqs zjyhjqs commented Dec 15, 2024

  1. 支持find_package+target_link_libraries等modern cmake用法
  2. Windows使用官方检测宏, 无须手动加宏
  3. 删除部分默认已指定行为的多余脚本
  4. 更改MSVC检测方式, 同时支持clang-cl
  5. 对应更新文档, 使用现代用法
  6. 读取version.h获得版本号, 无需在代码与CMakeLists中重复设置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant