+++ /dev/null
-{
- "version": 8,
- "configurePresets": [
- {
- "name": "client_toolchain",
- "displayName": "Configure preset using toolchain file",
- "description": "Sets Ninja generator, build and install directory",
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/out/build/${presetName}",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "CMAKE_TOOLCHAIN_FILE": "",
- "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
- }
- }
- ]
-}
\ No newline at end of file
#!/usr/bin/bash
-cd $(dirname "$0")/out/build/client_toolchain
+cd $(dirname "$0")/build
+cmake -G Ninja ..
ninja
\ No newline at end of file