Skip to content

Commit e609486

Browse files
committed
[lisandro/godot-blackholio]: use Directory.Build.props for godot output paths
1 parent 75829e6 commit e609486

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

sdks/csharp/Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@
33
<BaseOutputPath>bin~</BaseOutputPath>
44
<BaseIntermediateOutputPath>obj~</BaseIntermediateOutputPath>
55
</PropertyGroup>
6+
7+
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'SpacetimeDB.ClientSDK.Godot'">
8+
<BaseOutputPath>bin~/</BaseOutputPath>
9+
<BaseIntermediateOutputPath>obj~/godot/</BaseIntermediateOutputPath>
10+
<MSBuildProjectExtensionsPath>obj~/godot/</MSBuildProjectExtensionsPath>
11+
</PropertyGroup>
612
</Project>

tools/regen/src/csharp.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ pub fn regen_dlls() -> Result<()> {
225225
"SpacetimeDB.ClientSDK.Godot.csproj",
226226
"--configfile",
227227
path_arg(&nuget_config_path),
228-
"-p:BaseOutputPath=bin~/",
229-
"-p:BaseIntermediateOutputPath=obj~/godot/",
230-
"-p:MSBuildProjectExtensionsPath=obj~/godot/",
231228
)
232229
.dir(&sdk)
233230
.run()?;
@@ -252,10 +249,7 @@ pub fn regen_dlls() -> Result<()> {
252249
"SpacetimeDB.ClientSDK.Godot.csproj",
253250
"-c",
254251
"Release",
255-
"--no-restore",
256-
"-p:BaseOutputPath=bin~/",
257-
"-p:BaseIntermediateOutputPath=obj~/godot/",
258-
"-p:MSBuildProjectExtensionsPath=obj~/godot/"
252+
"--no-restore"
259253
)
260254
.dir(&sdk)
261255
.run()?;

0 commit comments

Comments
 (0)