No description
- Shell 66.1%
- CMake 28.4%
- C++ 5.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* template cleanup * Fix CTest test case discovery for doctest (#6) * Initial plan * Add test.sh script and enable tests in CMakeLists.txt Co-authored-by: vonhyou <[email protected]> * Improve test.sh: add VCPKG_ROOT check and configurable BUILD_TYPE Co-authored-by: vonhyou <[email protected]> * Use ctest --test-dir instead of cd for better practices Co-authored-by: vonhyou <[email protected]> * Fix test detection: add enable_testing() and use doctest_discover_tests() Co-authored-by: vonhyou <[email protected]> * Cleanup: remove test.sh and add generated scripts to .gitignore Co-authored-by: vonhyou <[email protected]> * Revert .gitignore: generated scripts should be tracked Co-authored-by: vonhyou <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: vonhyou <[email protected]> * Fix duplicate add_subdirectory causing CMake error in scaffold.sh (#7) * Initial plan * Fix duplicate add_subdirectory in scaffold.sh Co-authored-by: vonhyou <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: vonhyou <[email protected]> --------- Co-authored-by: Copilot <[email protected]> |
||
| .github/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| scaffold.sh | ||
| vcpkg.json | ||
C++ Project Template
Modern C++ project template with vcpkg dependency management.
Requirements
- C++23 compiler
- CMake 3.28+
- vcpkg
Setup
./scaffold.sh
This will prompt for project name, create a feature branch, update configurations, and generate build scripts.
Build and Run
./run.sh # Build and run
./test.sh # Build and test