Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ Mymath Public

基于cmake 的简单工程,并使用GTest 测试框架测试

License

Notifications You must be signed in to change notification settings

archeno/Mymath

Repository files navigation

GitHub Tag GitHub Build Badge

项目说明

本项目是基于现代cmake构建系统,包括基于对象方式传递依赖和通过find_package引入第三方依赖, 通过GTest开源框架进行测试,通过Github Workflow 进行自动化测试

文档内容

CMake语法

  • 现代CMake 基于包的管理方式
  • 添加库 add_library
  • 引用外部资源 find_package

Makefile

Makefile 只是单纯的封装了cmake 常用指令,方便用户执行,非必须

  • 构建 make config
  • 编译 make build
  • 清除 make clean

Github Workflow

添加 workflow 当仓库被 push时,自动执行构建和运行测试

维护

About

基于cmake 的简单工程,并使用GTest 测试框架测试

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /