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

25
examples/standalone/build.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Build script for the standalone TinyTest example
# Exit on error
set -e
echo "Building TinyTest standalone example"
# Create build directory
mkdir -p build
cd build
# Configure the project
echo "Configuring the project..."
cmake ..
# Build the project
echo "Building the project..."
cmake --build .
# Run the tests
echo "Running the tests..."
ctest --output-on-failure
echo "Standalone example has been built and tested successfully!"