From c47e43a1e92cc8389ef06bd800251fbe0458fb76 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 14 Aug 2017 08:11:11 -0400 Subject: rename crossplatform.targets to common.targets for reuse --- src/common.targets | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 src/common.targets (limited to 'src/common.targets') diff --git a/src/common.targets b/src/common.targets new file mode 100644 index 00000000..f320cd9a --- /dev/null +++ b/src/common.targets @@ -0,0 +1,73 @@ + + + + + + + + + $(HOME)/GOG Games/Stardew Valley/game + $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley + $(HOME)/.steam/steam/steamapps/common/Stardew Valley + + /Applications/Stardew Valley.app/Contents/MacOS + $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS + + C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley + C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32)) + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32)) + + + + + + + $(DefineConstants);SMAPI_FOR_WINDOWS + + + + False + + + False + + + False + + + False + + + $(GamePath)\Stardew Valley.exe + False + + + $(GamePath)\xTile.dll + False + False + + + + + + $(DefineConstants);SMAPI_FOR_UNIX + + + + $(GamePath)\MonoGame.Framework.dll + False + False + + + $(GamePath)\StardewValley.exe + False + + + $(GamePath)\xTile.dll + False + + + + + \ No newline at end of file -- cgit From 72d42ddff8be9bce4e9ab6a1ac04b9cc26deb42f Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 14 Aug 2017 08:22:50 -0400 Subject: move custom build configuration into common.targets to simplify maintenance --- src/common.targets | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src/common.targets') diff --git a/src/common.targets b/src/common.targets index f320cd9a..81e7e2a5 100644 --- a/src/common.targets +++ b/src/common.targets @@ -70,4 +70,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Program + $(GamePath)\StardewModdingAPI.exe + $(GamePath) + + + + + \ No newline at end of file -- cgit From 49ff572932f72374ebee73a3ebae6cc2c24bbeed Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 16 Aug 2017 23:03:14 -0400 Subject: fix build config --- src/common.targets | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/common.targets') diff --git a/src/common.targets b/src/common.targets index 81e7e2a5..ee138524 100644 --- a/src/common.targets +++ b/src/common.targets @@ -1,4 +1,4 @@ - + @@ -77,7 +77,10 @@ - + + + + @@ -86,7 +89,7 @@ - + @@ -101,5 +104,4 @@ - - \ No newline at end of file + -- cgit