Skip to content

Commit f3ae96a

Browse files
committed
fix debug Cpp
1 parent 6734d5a commit f3ae96a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

gdext.vcxproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<GodotConfiguration>Debug</GodotConfiguration>
1313
<GodotPlatform>windows</GodotPlatform>
1414
<GodotTemplate>template_debug</GodotTemplate>
15+
<BuildType>dev_build=yes</BuildType>
1516
<Arch>x86_32</Arch>
1617
</PropertyGroup>
1718
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-x86_32|windows'">
@@ -24,6 +25,7 @@
2425
<GodotConfiguration>Debug</GodotConfiguration>
2526
<GodotPlatform>windows</GodotPlatform>
2627
<GodotTemplate>template_debug</GodotTemplate>
28+
<BuildType>dev_build=yes</BuildType>
2729
<Arch>x86_64</Arch>
2830
</PropertyGroup>
2931
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-x86_64|windows'">
@@ -38,6 +40,7 @@
3840
<GodotConfiguration>Debug</GodotConfiguration>
3941
<GodotPlatform>linux</GodotPlatform>
4042
<GodotTemplate>template_debug</GodotTemplate>
43+
<BuildType>dev_build=yes</BuildType>
4144
<Arch>x86_64</Arch>
4245
</PropertyGroup>
4346
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-x86_64|linux'">
@@ -50,6 +53,7 @@
5053
<GodotConfiguration>Debug</GodotConfiguration>
5154
<GodotPlatform>linux</GodotPlatform>
5255
<GodotTemplate>template_debug</GodotTemplate>
56+
<BuildType>dev_build=yes</BuildType>
5357
<Arch>arm64</Arch>
5458
</PropertyGroup>
5559
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-arm64|linux'">
@@ -62,6 +66,7 @@
6266
<GodotConfiguration>Debug</GodotConfiguration>
6367
<GodotPlatform>linux</GodotPlatform>
6468
<GodotTemplate>template_debug</GodotTemplate>
69+
<BuildType>dev_build=yes</BuildType>
6570
<Arch>rv64</Arch>
6671
</PropertyGroup>
6772
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-rv64|linux'">
@@ -76,6 +81,7 @@
7681
<GodotConfiguration>Debug</GodotConfiguration>
7782
<GodotPlatform>macos</GodotPlatform>
7883
<GodotTemplate>template_debug</GodotTemplate>
84+
<BuildType>dev_build=yes</BuildType>
7985
<Arch></Arch> <!-- no arch in example.gdextension -->
8086
</PropertyGroup>
8187
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|macos'">
@@ -90,6 +96,7 @@
9096
<GodotConfiguration>Debug</GodotConfiguration>
9197
<GodotPlatform>ios</GodotPlatform>
9298
<GodotTemplate>template_debug</GodotTemplate>
99+
<BuildType>dev_build=yes</BuildType>
93100
<Arch>arm64</Arch>
94101
</PropertyGroup>
95102
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-arm64|ios'">
@@ -104,6 +111,7 @@
104111
<GodotConfiguration>Debug</GodotConfiguration>
105112
<GodotPlatform>android</GodotPlatform>
106113
<GodotTemplate>template_debug</GodotTemplate>
114+
<BuildType>dev_build=yes</BuildType>
107115
<Arch>x86_64</Arch>
108116
</PropertyGroup>
109117
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-x86_64|android'">
@@ -116,6 +124,7 @@
116124
<GodotConfiguration>Debug</GodotConfiguration>
117125
<GodotPlatform>android</GodotPlatform>
118126
<GodotTemplate>template_debug</GodotTemplate>
127+
<BuildType>dev_build=yes</BuildType>
119128
<Arch>arm64</Arch>
120129
</PropertyGroup>
121130
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-arm64|android'">
@@ -130,6 +139,7 @@
130139
<GodotConfiguration>Debug</GodotConfiguration>
131140
<GodotPlatform>web</GodotPlatform>
132141
<GodotTemplate>template_debug</GodotTemplate>
142+
<BuildType>dev_build=yes</BuildType>
133143
<Arch>wasm32</Arch>
134144
</PropertyGroup>
135145
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-wasm32|web'">
@@ -168,7 +178,7 @@
168178
<LocalDebuggerCommand Condition="'$(LocalDebuggerCommand)' == '' and '$(GODOT)' != ''">$(GODOT)</LocalDebuggerCommand>
169179
<LocalDebuggerCommand Condition="'$(LocalDebuggerCommand)' == '' and '$(GODOT)' == ''">godot</LocalDebuggerCommand>
170180
<!-- Commands executed by Build/Rebuild/Clean in the IDE (Rider, VS) -->
171-
<NMakeBuildCommandLine>scons platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate)</NMakeBuildCommandLine>
181+
<NMakeBuildCommandLine>scons platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate) $(BuildType)</NMakeBuildCommandLine>
172182
<NMakeReBuildCommandLine>scons --clean platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate) &amp;&amp; scons platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate)</NMakeReBuildCommandLine>
173183
<NMakeCleanCommandLine>scons --clean platform=$(GodotPlatform) arch=$(Arch) target=$(GodotTemplate)</NMakeCleanCommandLine>
174184
</PropertyGroup>

0 commit comments

Comments
 (0)