1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project DefaultTargets =" Build" ToolsVersion =" Current" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <PropertyGroup Label =" Globals" >
4+ <ProjectGuid >{9A2FB295-38D9-4994-9497-26FF91C85465}</ProjectGuid >
5+ <RootNamespace >godot</RootNamespace >
6+ <Keyword >MakeFileProj</Keyword >
7+ <VCProjectUpgraderObjectName >NoUpgrade</VCProjectUpgraderObjectName >
8+ </PropertyGroup >
9+
10+ <!-- Windows -->
11+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-x86_32|windows'" >
12+ <GodotConfiguration >Debug</GodotConfiguration >
13+ <GodotPlatform >windows</GodotPlatform >
14+ <GodotTemplate >template_debug</GodotTemplate >
15+ <BuildType >dev_build=yes</BuildType >
16+ <Arch >x86_32</Arch >
17+ </PropertyGroup >
18+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-x86_32|windows'" >
19+ <GodotConfiguration >Release</GodotConfiguration >
20+ <GodotPlatform >windows</GodotPlatform >
21+ <GodotTemplate >template_release</GodotTemplate >
22+ <Arch >x86_32</Arch >
23+ </PropertyGroup >
24+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-x86_64|windows'" >
25+ <GodotConfiguration >Debug</GodotConfiguration >
26+ <GodotPlatform >windows</GodotPlatform >
27+ <GodotTemplate >template_debug</GodotTemplate >
28+ <BuildType >dev_build=yes</BuildType >
29+ <Arch >x86_64</Arch >
30+ </PropertyGroup >
31+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-x86_64|windows'" >
32+ <GodotConfiguration >Release</GodotConfiguration >
33+ <GodotPlatform >windows</GodotPlatform >
34+ <GodotTemplate >template_release</GodotTemplate >
35+ <Arch >x86_64</Arch >
36+ </PropertyGroup >
37+
38+ <!-- Linux -->
39+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-x86_64|linux'" >
40+ <GodotConfiguration >Debug</GodotConfiguration >
41+ <GodotPlatform >linux</GodotPlatform >
42+ <GodotTemplate >template_debug</GodotTemplate >
43+ <BuildType >dev_build=yes</BuildType >
44+ <Arch >x86_64</Arch >
45+ </PropertyGroup >
46+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-x86_64|linux'" >
47+ <GodotConfiguration >Release</GodotConfiguration >
48+ <GodotPlatform >linux</GodotPlatform >
49+ <GodotTemplate >template_release</GodotTemplate >
50+ <Arch >x86_64</Arch >
51+ </PropertyGroup >
52+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-arm64|linux'" >
53+ <GodotConfiguration >Debug</GodotConfiguration >
54+ <GodotPlatform >linux</GodotPlatform >
55+ <GodotTemplate >template_debug</GodotTemplate >
56+ <BuildType >dev_build=yes</BuildType >
57+ <Arch >arm64</Arch >
58+ </PropertyGroup >
59+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-arm64|linux'" >
60+ <GodotConfiguration >Release</GodotConfiguration >
61+ <GodotPlatform >linux</GodotPlatform >
62+ <GodotTemplate >template_release</GodotTemplate >
63+ <Arch >arm64</Arch >
64+ </PropertyGroup >
65+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-rv64|linux'" >
66+ <GodotConfiguration >Debug</GodotConfiguration >
67+ <GodotPlatform >linux</GodotPlatform >
68+ <GodotTemplate >template_debug</GodotTemplate >
69+ <BuildType >dev_build=yes</BuildType >
70+ <Arch >rv64</Arch >
71+ </PropertyGroup >
72+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-rv64|linux'" >
73+ <GodotConfiguration >Release</GodotConfiguration >
74+ <GodotPlatform >linux</GodotPlatform >
75+ <GodotTemplate >template_release</GodotTemplate >
76+ <Arch >rv64</Arch >
77+ </PropertyGroup >
78+
79+ <!-- macOS (no arch in config) -->
80+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|macos'" >
81+ <GodotConfiguration >Debug</GodotConfiguration >
82+ <GodotPlatform >macos</GodotPlatform >
83+ <GodotTemplate >template_debug</GodotTemplate >
84+ <BuildType >dev_build=yes</BuildType >
85+ <Arch ></Arch > <!-- no arch in example.gdextension -->
86+ </PropertyGroup >
87+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|macos'" >
88+ <GodotConfiguration >Release</GodotConfiguration >
89+ <GodotPlatform >macos</GodotPlatform >
90+ <GodotTemplate >template_release</GodotTemplate >
91+ <Arch ></Arch >
92+ </PropertyGroup >
93+
94+ <!-- iOS -->
95+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-arm64|ios'" >
96+ <GodotConfiguration >Debug</GodotConfiguration >
97+ <GodotPlatform >ios</GodotPlatform >
98+ <GodotTemplate >template_debug</GodotTemplate >
99+ <BuildType >dev_build=yes</BuildType >
100+ <Arch >arm64</Arch >
101+ </PropertyGroup >
102+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-arm64|ios'" >
103+ <GodotConfiguration >Release</GodotConfiguration >
104+ <GodotPlatform >ios</GodotPlatform >
105+ <GodotTemplate >template_release</GodotTemplate >
106+ <Arch >arm64</Arch >
107+ </PropertyGroup >
108+
109+ <!-- Android -->
110+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-x86_64|android'" >
111+ <GodotConfiguration >Debug</GodotConfiguration >
112+ <GodotPlatform >android</GodotPlatform >
113+ <GodotTemplate >template_debug</GodotTemplate >
114+ <BuildType >dev_build=yes</BuildType >
115+ <Arch >x86_64</Arch >
116+ </PropertyGroup >
117+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-x86_64|android'" >
118+ <GodotConfiguration >Release</GodotConfiguration >
119+ <GodotPlatform >android</GodotPlatform >
120+ <GodotTemplate >template_release</GodotTemplate >
121+ <Arch >x86_64</Arch >
122+ </PropertyGroup >
123+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-arm64|android'" >
124+ <GodotConfiguration >Debug</GodotConfiguration >
125+ <GodotPlatform >android</GodotPlatform >
126+ <GodotTemplate >template_debug</GodotTemplate >
127+ <BuildType >dev_build=yes</BuildType >
128+ <Arch >arm64</Arch >
129+ </PropertyGroup >
130+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-arm64|android'" >
131+ <GodotConfiguration >Release</GodotConfiguration >
132+ <GodotPlatform >android</GodotPlatform >
133+ <GodotTemplate >template_release</GodotTemplate >
134+ <Arch >arm64</Arch >
135+ </PropertyGroup >
136+
137+ <!-- Web (wasm32) -->
138+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug-wasm32|web'" >
139+ <GodotConfiguration >Debug</GodotConfiguration >
140+ <GodotPlatform >web</GodotPlatform >
141+ <GodotTemplate >template_debug</GodotTemplate >
142+ <BuildType >dev_build=yes</BuildType >
143+ <Arch >wasm32</Arch >
144+ </PropertyGroup >
145+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release-wasm32|web'" >
146+ <GodotConfiguration >Release</GodotConfiguration >
147+ <GodotPlatform >web</GodotPlatform >
148+ <GodotTemplate >template_release</GodotTemplate >
149+ <Arch >wasm32</Arch >
150+ </PropertyGroup >
151+
152+ <PropertyGroup >
153+ <IsWindows >$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))</IsWindows >
154+ <IsMac >$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))</IsMac >
155+ <IsLinux >$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))</IsLinux >
156+ </PropertyGroup >
157+ <Import Project =" $(VCTargetsPath)/Microsoft.Cpp.Default.props" Condition =" $(IsWindows)" />
158+ <Import Project =" $(MSBuildProjectDirectory)/targets/JetBrains.Rider.Cpp.targets" Condition =" $(IsMac) OR $(IsLinux)" />
159+
160+ <PropertyGroup Label =" UserMacros" >
161+ <!-- Mirror useful CMake variables as MSBuild properties for consistency -->
162+ <ExtensionName Condition =" '$(ExtensionName)' == ''" >EXTENSION-NAME</ExtensionName >
163+ <!-- The directory of the Godot game project -->
164+ <GameProjectDir Condition =" '$(GameProjectDir)' == ''" >demo</GameProjectDir >
165+ <!-- Expose quick-switch properties to the IDE (can be overridden in godot.user.props) -->
166+ <Precision Condition =" '$(Precision)' == ''" >single</Precision > <!-- single or double-->
167+ <Threads Condition =" '$(Threads)' == ''" >threads</Threads >
168+ </PropertyGroup >
169+ <Import Project =" $(MSBuildProjectDirectory)/targets/godot.user.props" Condition =" Exists('$(MSBuildProjectDirectory)/targets/godot.user.props')" />
170+
171+ <PropertyGroup Label =" Configuration" >
172+ <ConfigurationType >Makefile</ConfigurationType >
173+ <UseOfMfc >false</UseOfMfc >
174+ <PlatformToolset >v143</PlatformToolset > <!-- Makes Visual Studio happy. Might be overridden in the platform specific import or godot.user.props -->
175+ <DefaultPlatformToolset Condition =" '$(DefaultPlatformToolset)'==''" /> <!-- Workaround until https://youtrack.jetbrains.com/issue/RIDER-123783 is resolved. -->
176+ <NMakeIncludeSearchPath >godot-cpp/gen/include;godot-cpp/include;godot-cpp/gdextension;$(NMakeIncludeSearchPath);</NMakeIncludeSearchPath >
177+ <!-- Default debugger command should point to GodotEditor; if env var GODOT is provided, use it -->
178+ <LocalDebuggerCommand Condition =" '$(LocalDebuggerCommand)' == '' and '$(GODOT)' != ''" >$(GODOT)</LocalDebuggerCommand >
179+ <LocalDebuggerCommand Condition =" '$(LocalDebuggerCommand)' == '' and '$(GODOT)' == ''" >godot</LocalDebuggerCommand >
180+ <!-- Commands executed by Build/Rebuild/Clean in the IDE (Rider, VS) -->
181+ <NMakeBuildCommandLine >scons platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate) $(BuildType)</NMakeBuildCommandLine >
182+ <NMakeReBuildCommandLine >scons --clean platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate) && scons platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate)</NMakeReBuildCommandLine >
183+ <NMakeCleanCommandLine >scons --clean platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate)</NMakeCleanCommandLine >
184+ </PropertyGroup >
185+ <Import Project =" $(VCTargetsPath)/Microsoft.Cpp.props" Condition =" $(IsWindows)" />
186+ <ImportGroup Label =" ExtensionSettings" >
187+ </ImportGroup >
188+ <ItemGroup >
189+ <None Include =" src/**/*.h" />
190+ <None Include =" src/**/*.cpp" />
191+ </ItemGroup >
192+
193+ <!-- Build/Rebuild/Clean targets for NMake are defined in MSVC, so we need to provide them, when using MSBuild without MSVC targets -->
194+ <Import Project =" $(MSBuildProjectDirectory)/targets/nmake.substitution.props" Condition =" !Exists('$(VCTargetsPath)/Microsoft.Cpp.targets')" />
195+ <Import Project =" $(VCTargetsPath)/Microsoft.Cpp.targets" Condition =" $(IsWindows)" />
196+ </Project >
0 commit comments