A toolkit for building DJV and other applications.
Clone the repository:
git clone https://github.com/darbyjohnston/dtk.git
Run CMake:
cmake -S dtk/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/dtk/src/dtk-build/examples/simple/simple
Clone the repository:
git clone https://github.com/darbyjohnston/dtk.git
Run CMake:
cmake -S dtk/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/dtk/src/dtk-build/examples/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/dtk.git
Run CMake:
cmake -S dtk\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\dtk\src\dtk-build\examples\simple\Release\simple