Overview
Based on cmake-project-template and xcmixin, integrate a complete CMake build system and CI/CD workflow.
Tasks
CMake Build System
Add missing cmake files from cmake-project-template:
Update CMakeLists.txt:
CI/CD Workflows
Add GitHub Actions workflows from xcmixin:
References
Overview
Based on cmake-project-template and xcmixin, integrate a complete CMake build system and CI/CD workflow.
Tasks
CMake Build System
Add missing cmake files from cmake-project-template:
cmake/get_version.cmake- Version extraction from CMakeLists.txtcmake/install.cmake- Installation configurationcmake/install_deps.cmake- Dependency installation (empty for header-only)cmake/install_test_deps.cmake- Test dependency installation (Google Test)cmake/xc_utils.cmake- Common CMake utilitiescmake/xcmathConfig.cmake.in- CMake config templateUpdate
CMakeLists.txt:CI/CD Workflows
Add GitHub Actions workflows from xcmixin:
.github/workflows/ci.yml- Continuous Integration.github/workflows/release.yml- Release workflow.github/workflows/code-quality.yml- Code quality checksReferences