Adds cmake build support.

This commit is contained in:
Tom Hicks
2025-04-09 14:30:09 -07:00
parent a4109d2f49
commit 99f586975c
30 changed files with 2018 additions and 50 deletions

18
build_cmake.bat Normal file
View File

@@ -0,0 +1,18 @@
@echo off
:: Helper script to build TinyTest with CMake on Windows
:: Create build directory if it doesn't exist
if not exist build mkdir build
cd build
:: Configure with CMake
echo Configuring with CMake...
cmake .. %*
:: Build
echo Building...
cmake --build . --config Release
echo Build complete!
echo To run tests: cd build ^&^& ctest -C Release
echo To install: cd build ^&^& cmake --install . --config Release