Files
TinyTest/build_cmake.bat
2025-04-09 19:33:49 -07:00

18 lines
420 B
Batchfile

@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