123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390 |
- {
- "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": "compile-commands-json",
- "description": "Generate compile_commands.json file when used with a Makefile or Ninja Generator",
- "hidden": true,
- "cacheVariables": {
- "CMAKE_EXPORT_COMPILE_COMMANDS": {
- "type": "BOOL",
- "value": "ON"
- }
- }
- },
- {
- "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": "makefiles",
- "displayName": "Unix Makefiles",
- "description": "Configure using Unix Makefile generator",
- "generator": "Unix Makefiles",
- "hidden": true,
- "inherits":[
- "compile-commands-json"
- ]
- },
- {
- "name": "ninja-multi-config",
- "displayName": "Ninja Multi-Config",
- "description": "Configure using Ninja Multi-Config generator",
- "hidden": true,
- "generator": "Ninja Multi-Config",
- "inherits":[
- "compile-commands-json"
- ]
- },
- {
- "name": "vs2022",
- "displayName": "Visual Studio 2022",
- "description": "Configure using VS2022 generator",
- "generator": "Visual Studio 17 2022",
- "hidden": true,
- "inherits": [
- "host-windows"
- ]
- },
- {
- "name": "vs2019",
- "displayName": "Visual Studio 2019",
- "description": "Configure using VS2019 generator",
- "generator": "Visual Studio 16 2019",
- "hidden": true,
- "inherits": [
- "host-windows"
- ]
- },
- {
- "name": "xcode",
- "displayName": "Xcode",
- "description": "Configure using Xcode generator",
- "generator": "Xcode",
- "hidden": true,
- "inherits": [
- "host-mac"
- ]
- },
- {
- "name": "host-windows",
- "displayName": "Host OS - Windows",
- "description": "Specifies Windows host condition for configure preset",
- "hidden": true,
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Windows"
- }
- },
- {
- "name": "host-linux",
- "displayName": "Host OS - Linux",
- "description": "Specifies Linux host condition for configure preset",
- "hidden": true,
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Linux"
- }
- },
- {
- "name": "host-mac",
- "displayName": "Host OS - Mac",
- "description": "Specifies Mac host condition for configure preset",
- "hidden": true,
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Darwin"
- }
- },
- {
- "name": "host-windows-linux-mac",
- "displayName": "Host OS - Any",
- "description": "Allows Windows, Linux or Mac to be used for host condition for configure preset",
- "hidden": true,
- "condition": {
- "type": "inList",
- "string": "${hostSystemName}",
- "list": [
- "Darwin",
- "Linux",
- "Windows"
- ]
- }
- }
- ],
- "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"]
- },
- {
- "name": "host-windows",
- "displayName": "Host OS - Windows",
- "description": "Specifies Windows host condition for build preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Windows"
- }
- },
- {
- "name": "host-linux",
- "displayName": "Host OS - Linux",
- "description": "Specifies Linux host condition for build preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Linux"
- }
- },
- {
- "name": "host-mac",
- "displayName": "Host OS - Mac",
- "description": "Specifies Mac host condition for build preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Darwin"
- }
- },
- {
- "name": "host-windows-linux-mac",
- "displayName": "Host OS - Any",
- "description": "Allows Windows, Linux or Mac to be used for host condition for build preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "inList",
- "string": "${hostSystemName}",
- "list": [
- "Darwin",
- "Linux",
- "Windows"
- ]
- }
- }
- ],
- "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"
- }
- },
- {
- "name": "host-windows",
- "displayName": "Host OS - Windows",
- "description": "Specifies Windows host condition for test preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Windows"
- }
- },
- {
- "name": "host-linux",
- "displayName": "Host OS - Linux",
- "description": "Specifies Linux host condition for test preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Linux"
- }
- },
- {
- "name": "host-mac",
- "displayName": "Host OS - Mac",
- "description": "Specifies Mac host condition for test preset",
- "hidden": true,
- "configurePreset": "default",
- "condition": {
- "type": "equals",
- "lhs": "${hostSystemName}",
- "rhs": "Darwin"
- }
- }
- ]
- }
|