Skip to content

Commit

Permalink
Add multi-config ninja generator, update demo project .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Warreign committed Aug 23, 2024
1 parent 66835be commit cbd0870
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 24 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,35 @@
"name": "default",
"displayName": "default",
"description": "Default preset that are inherited by all",
"generator": "Ninja",
"generator": "Ninja Multi-Config",
"hidden": true,
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/demo/addons"
}
},
{
"name": "windows",
"displayName": "64bit Windows Multi-Config",
"inherits": "default",
"binaryDir": "${sourceDir}/build/Windows-AMD64",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "windows-debug",
"displayName": "64bit Windows Debug",
Expand Down
2 changes: 2 additions & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Godot 4+ specific ignores
.godot/

addons/cesium-godot/lib

0 comments on commit cbd0870

Please sign in to comment.