Skip to content

Commit

Permalink
Cleanup of compilation stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrossignol committed Oct 27, 2020
1 parent 5e7f95b commit d208928
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
7 changes: 3 additions & 4 deletions source/CC_RemoteTech/CC_RemoteTech.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,11 @@
<PropertyGroup>
<PostBuildEvent>
if $(ConfigurationName) == Debug (
echo "$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(Pdb2MdbExe)" "$(TargetPath)"
)

copy /y "$(TargetPath)" "$(SolutionDir)..\GameData\ContractConfigurator\"
copy /Y "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)..\..\..\..\..\..\Program Files (x86)\Kerbal Space Program\GameData\ContractConfigurator\"
copy /Y "$(TargetDir)$(TargetName).pdb" "$(KspInstallationDir)\GameData\ContractConfigurator\"
if exist "$(TargetDir)$(TargetName).dll.mdb" (copy /Y "$(TargetDir)$(TargetName).dll.mdb" "$(KspInstallationDir)\GameData\ContractConfigurator\")
</PostBuildEvent>
</PropertyGroup>
Expand All @@ -103,4 +102,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
5 changes: 2 additions & 3 deletions source/ContractConfigurator/ContractConfigurator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@
</Target>
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Debug (
echo "$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(Pdb2MdbExe)" "$(TargetPath)"
)

copy /y "$(TargetPath)" "$(SolutionDir)..\GameData\ContractConfigurator\"
Expand All @@ -387,4 +386,4 @@ if exist "$(TargetDir)$(TargetName).dll.mdb" (copy /Y "$(TargetDir)$(TargetName)
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
5 changes: 2 additions & 3 deletions source/KerKonConConExt/KerKonConConExt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
<PropertyGroup>
<PostBuildEvent>
if $(ConfigurationName) == Debug (
echo "$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(MonoExe)" "$(Pdb2MdbExe)" "$(TargetPath)"
"$(Pdb2MdbExe)" "$(TargetPath)"
)

copy /y "$(TargetPath)" "$(SolutionDir)..\GameData\ContractConfigurator\"
Expand All @@ -112,4 +111,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
10 changes: 5 additions & 5 deletions source/ksplocations_example.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<!-- Sample ksplocations.props file. Copy to ksplocations.props and change the attributes below as required. -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Edit these to point to the files as you find them on your machine -->
<TextTransformExe>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\texttransform.exe</TextTransformExe>
<MonoExe>C:\Program Files\Unity\Editor\Data\MonoBleedingEdge\bin\mono</MonoExe>
<Pdb2MdbExe>c:\pdb2mdb\pdb2mdb.exe</Pdb2MdbExe>
<KspInstallationDir>C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - Plain\</KspInstallationDir>
<KspInstallationDir>C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\</KspInstallationDir>
</PropertyGroup>
</Project>
</Project>

0 comments on commit d208928

Please sign in to comment.