123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- {
- "version": 4,
- "cmakeMinimumRequired": {
- "major": 3,
- "minor": 23,
- "patch": 0
- },
- "configurePresets": [
- {
- "name": "default",
- "description": "Placeholder configuration that buildPresets and testPresets can inherit from",
- "hidden": true
- },
- {
- "name": "debug",
- "description": "Specifies build type for single-configuration generators: debug",
- "hidden": true,
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": {
- "type": "STRING",
- "value": "debug"
- }
- }
- },
- {
- "name": "release",
- "description": "Specifies build type for single-configuration generators: release",
- "hidden": true,
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": {
- "type": "STRING",
- "value": "release"
- }
- }
- },
- {
- "name": "profile",
- "description": "Specifies build type for single-configuration generators: profile",
- "hidden": true,
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": {
- "type": "STRING",
- "value": "profile"
- }
- }
- },
- {
- "name": "no-unity",
- "description": "unity: off",
- "hidden": true,
- "cacheVariables": {
- "LY_UNITY_BUILD": {
- "type": "BOOL",
- "value": "OFF"
- }
- }
- },
- {
- "name": "unity",
- "description": "unity: on",
- "hidden": true,
- "cacheVariables": {
- "LY_UNITY_BUILD": {
- "type": "BOOL",
- "value": "ON"
- }
- }
- },
- {
- "name": "non-monolithic",
- "description": "non-monolithic permutation(Default)",
- "hidden": true,
- "cacheVariables": {
- "LY_MONOLITHIC_GAME": {
- "type": "BOOL",
- "value": "OFF"
- }
- }
- },
- {
- "name": "monolithic",
- "description": "monolithic permutation(Monolithic)",
- "hidden": true,
- "cacheVariables": {
- "LY_MONOLITHIC_GAME": {
- "type": "BOOL",
- "value": "ON"
- }
- }
- },
- {
- "name": "ninja-multi-config",
- "displayName": "Ninja Multi-Config",
- "description": "Default build using Ninja Multi-Config generator",
- "hidden": true,
- "generator": "Ninja Multi-Config"
- }
- ],
- "buildPresets": [
- {
- "name": "debug",
- "description": "configuration: debug",
- "hidden": true,
- "configurePreset": "default",
- "configuration": "debug"
- },
- {
- "name": "release",
- "description": "configuration: release",
- "hidden": true,
- "configurePreset": "default",
- "configuration": "release"
- },
- {
- "name": "profile",
- "description": "configuration: profile",
- "hidden": true,
- "configurePreset": "default",
- "configuration": "profile"
- },
- {
- "name": "editor",
- "description": "target: editor",
- "hidden": true,
- "configurePreset": "default",
- "inherits": [ "profile"],
- "targets": "Editor"
- },
- {
- "name": "assetprocessor",
- "description": "target: asset processor",
- "hidden": true,
- "configurePreset": "default",
- "inherits": [ "profile"],
- "targets": "AssetProcessor"
- },
- {
- "name": "install",
- "description": "Builds the dependencies install(Ninja, Make, etc...) or INSTALL(Visual Studio, Xcode) target. Afterwards run the CMake install step to install the build dependencies",
- "hidden": true,
- "configurePreset": "default",
- "inherits": [ "profile"],
- "targets": "install"
- },
- {
- "name": "test-default",
- "description": "Builds the smoke and main test suite dependencies",
- "hidden": true,
- "configurePreset": "default",
- "inherits": [ "profile"],
- "targets": ["TEST_SUITE_main", "TEST_SUITE_smoke"]
- }
- ],
- "testPresets": [
- {
- "name": "test-default",
- "description": "CTest preset which runs the smoke and main test suites",
- "hidden": true,
- "configurePreset": "default",
- "output": {
- "outputOnFailure": true,
- "outputLogFile": "Ctest-${presetName}.log"
- },
- "execution": {
- "noTestsAction": "error"
- },
- "filter": {
- "include": {
- "label": "(SUITE_smoke|SUITE_main)"
- },
- "exclude": {
- "label": "(REQUIRES_gpu)"
- }
- }
- },
- {
- "name": "test-default-debug",
- "description": "Runs the smoke and main test suites using the debug configuration",
- "hidden": true,
- "configurePreset": "default",
- "inherits": ["test-default"],
- "configuration": "debug",
- "output": {
- "outputLogFile": "Ctest-${presetName}-debug.log"
- }
- },
- {
- "name": "test-default-profile",
- "description": "Runs the smoke and main test suites using the profile configuration",
- "hidden": true,
- "configurePreset": "default",
- "inherits": ["test-default"],
- "configuration": "profile",
- "output": {
- "outputLogFile": "Ctest-${presetName}-profile.log"
- }
- }
- ]
- }
|