Small experiments with graphics programming.
Clone the repository:
git clone https://github.com/darbyjohnston/tinygfx.git
Run CMake:
cmake -S tinygfx/etc/SuperBuild -B Release -DCMAKE_INSTALL_PREFIX=$PWD/Release/install -DCMAKE_PREFIX_PATH=$PWD/Release/install -DCMAKE_BUILD_TYPE=Release
Start the build:
cmake --build Release -j 4 --config Release
Try running the simple
example:
./Release/tinygfx/src/tinygfx-build/examples/render/simple/simple
Clone the repository:
git clone https://github.com/darbyjohnston/tinygfx.git
Run CMake:
cmake -S tinygfx/etc/SuperBuild -B Release -DCMAKE_INSTALL_PREFIX=$PWD/Release/install -DCMAKE_PREFIX_PATH=$PWD/Release/install -DCMAKE_BUILD_TYPE=Release
Start the build:
cmake --build Release -j 4 --config Release
Try running the simple
example:
./tinygfx/src/tinygfx-build/examples/render/simple/simple
The CMake variable "CMAKE_OSX_ARCHITECTURES" can be used to specify the build architecture:
-DCMAKE_OSX_ARCHITECTURES=x86_64
-DCMAKE_OSX_ARCHITECTURES=arm64
Clone the repository:
git clone https://github.com/darbyjohnston/tinygfx.git
Run CMake:
cmake -S tinygfx\etc\SuperBuild -B Release -DCMAKE_INSTALL_PREFIX=%CD%\Release\install -DCMAKE_PREFIX_PATH=%CD%\Release\install -DCMAKE_BUILD_TYPE=Release
Start the build:
cmake --build Release -j 4 --config Release
Try running the simple
example:
.\Release\tinygfx\src\tinygfx-build\examples\render\simple\Release\simple