diff --git a/CMakePresets.json b/CMakePresets.json index f4d5235..006599a 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -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", diff --git a/demo/.gitignore b/demo/.gitignore index 4709183..ea5c17b 100644 --- a/demo/.gitignore +++ b/demo/.gitignore @@ -1,2 +1,4 @@ # Godot 4+ specific ignores .godot/ + +addons/cesium-godot/lib \ No newline at end of file