feat: add CMake build system and CI/CD workflows (#2)#6
Merged
Conversation
- Remove unnecessary vcruntime_typeinfo.h include - Format move() method implementation - Add build configuration variables to CMakePresets.json
- Add project overview and core features - Document vector types, methods, and operations - Document matrix types, methods, and transformations - Include interpolation and serialization examples - Add build instructions and compatibility table - Reference xcmixin README style for consistency
- Change C++23 to C++20 - Update build commands without vcpkg - Update requirements to reference xcmixin submodule
- Add GitHub badges (license, release, tag, language) - Add Chinese README (README.zh-CN.md) - Add MIT LICENSE file - Update .gitignore to include new files
- Rename README.zh-CN.md to README-zh.md (matching xcmixin) - Add bidirectional links between English and Chinese README - Update .gitignore
- Add License section with link to LICENSE file - Add Roadmap section with link to TODO folder
Update copyright to include author name (Tian Li)
- Add cmake files from cmake-project-template: - get_version.cmake: Version extraction from git tags - install.cmake: Installation configuration - install_deps.cmake: Empty for header-only library - install_test_deps.cmake: Google Test installation - xc_utils.cmake: Common CMake utilities - xcmathConfig.cmake.in: CMake config template - Add GitHub Actions workflows from xcmixin: - ci.yml: CI on Ubuntu/macOS/Windows with clang/gcc - release.yml: Release workflow with artifacts - code-quality.yml: Clang format check - Update .gitignore to include .github folder Closes #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a complete CMake build system and CI/CD workflows for xcmath, addressing issue #2.
CMake Files Added
cmake/get_version.cmake- Version extraction from git tagscmake/install.cmake- Installation configurationcmake/install_deps.cmake- Empty for header-only librarycmake/install_test_deps.cmake- Google Test installationcmake/xc_utils.cmake- Common CMake utilitiescmake/xcmathConfig.cmake.in- CMake config templateGitHub Actions Workflows Added
.github/workflows/ci.yml- Continuous Integration on Ubuntu/macOS/Windows with clang/gcc.github/workflows/release.yml- Release workflow with artifacts for all platforms.github/workflows/code-quality.yml- Clang format checkOther Changes
.gitignoreto include.github/folderTest Plan