Skip to content

Commit

Permalink
changed build settings to build on linux again
Browse files Browse the repository at this point in the history
  • Loading branch information
technogeeky committed Jul 26, 2014
1 parent 0c4547d commit 84b0a1c
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 52 deletions.
54 changes: 35 additions & 19 deletions SCANassets/SCANassets.mdproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Default</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ItemType>GenericProject</ItemType>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0B3343ED-6E2B-489D-9F53-4CF850ABF30D}</ProjectGuid>
</PropertyGroup>
Expand All @@ -13,23 +13,39 @@
</PropertyGroup>
<ItemGroup>
<None Include="Resources\ScienceDefs.cfg" />
<None Include="MapTraq\SCANsat.tga" />
<None Include="MapTraq\model.mu" />
<None Include="Scanner 1\Normal Map_NRM.tga" />
<None Include="Scanner 1\Texture Map.tga" />
<None Include="Scanner 1\model.mu" />
<None Include="Scanner 2\Normals_NRM.tga" />
<None Include="Scanner 2\Tex Map.tga" />
<None Include="Scanner 2\model.mu" />
<None Include="Scanner 8\Normal Map_NRM.tga" />
<None Include="Scanner 8\Texture Map.tga" />
<None Include="Scanner 8\model.mu" />
<None Include="Scanner 32\SCANsat.tga" />
<None Include="Scanner 32\model.mu" />
<None Include="Scanner 1\part.cfg.ignore" />
<None Include="Scanner 2\part.cfg.ignore" />
<None Include="Scanner 32\part.cfg.ignore" />
<None Include="Scanner 8\part.cfg.ignore" />
<None Include="MapTraq\part.cfg.ignore" />
<None Include="Flags\SCANsat_Flag.png" />
<None Include="Icons\SCANsat_Icon.png" />
<None Include="Icons\SCANsat_Map_Icon.png" />
<None Include="Icons\SCANsat_SmallMap_Icon.png" />
<None Include="Parts\MapTraq\SCANsat.tga" />
<None Include="Parts\MapTraq\model.mu" />
<None Include="Parts\Scanner 1\Normal Map_NRM.tga" />
<None Include="Parts\Scanner 1\Texture Map.tga" />
<None Include="Parts\Scanner 1\model.mu" />
<None Include="Parts\Scanner 2\Normals_NRM.tga" />
<None Include="Parts\Scanner 2\Tex Map.tga" />
<None Include="Parts\Scanner 2\model.mu" />
<None Include="Parts\Scanner 32\SCANsat.tga" />
<None Include="Parts\Scanner 32\model.mu" />
<None Include="Parts\Scanner 8\Normal Map_NRM.tga" />
<None Include="Parts\Scanner 8\Texture Map.tga" />
<None Include="Parts\Scanner 8\model.mu" />
<None Include="Parts\MapTraq\part.cfg" />
<None Include="Parts\Scanner 1\part.cfg" />
<None Include="Parts\Scanner 2\part.cfg" />
<None Include="Parts\Scanner 32\part.cfg" />
<None Include="Parts\Scanner 8\part.cfg" />
<None Include="MM_Parts\EPL_Scanners.cfg" />
<None Include="MM_Parts\KSPI_Scanners.cfg" />
<None Include="MM_Parts\Karbonite_Scanners.cfg" />
<None Include="MM_Parts\Kethane_Scanners.cfg" />
<None Include="MM_Parts\RPMMapTraq.cfg" />
</ItemGroup>
<ItemGroup>
<Folder Include="Flags\" />
<Folder Include="Icons\" />
<Folder Include="Parts\" />
<Folder Include="MM_Parts\" />
<Folder Include="Plugins\" />
</ItemGroup>
</Project>
5 changes: 4 additions & 1 deletion SCANdebug/SCANdebug.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{81775A58-7251-4E16-9923-AC60DC3DAED6}</ProjectGuid>
<OutputType>Exe</OutputType>
Expand All @@ -30,4 +30,7 @@
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="EmptyClass.cs" />
</ItemGroup>
</Project>
34 changes: 18 additions & 16 deletions SCANsat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3AE13948-477D-4375-8AB4-B45664966D9E}</ProjectGuid>
<OutputType>Library</OutputType>
Expand All @@ -14,17 +14,16 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Plugins\</OutputPath>
<DefineConstants>
</DefineConstants>
<OutputPath>..\..\GameData\SCANsat</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<additionalargs>-debug:full</additionalargs>
<DefineConstants>DEBUG;</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\Plugins\</OutputPath>
<OutputPath>..\..\GameData\SCANsat</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
Expand All @@ -34,24 +33,27 @@
<Command type="AfterBuild" command="cp &quot;${ProjectDir}/CHANGELOG.txt&quot; ." workingdir="${TargetDir}" />
<Command type="AfterBuild" command="cp &quot;${ProjectDir}/README.md&quot; ." workingdir="${TargetDir}" />
<Command type="AfterBuild" command="cp &quot;${ProjectDir}/LICENSE.txt&quot; ." workingdir="${TargetDir}" />
<Command type="AfterBuild" command="cp &quot;${ProjectDir}/TODO.txt&quot; ." workingdir="${TargetDir}" />
<Command type="AfterBuild" command="for s in &quot;Resources&quot; &quot;MapTraq&quot; &quot;Scanner 1&quot; &quot;Scanner 2&quot; &quot;Scanner 8&quot; &quot;Scanner 32&quot;; do cp -ur &quot;${ProjectDir}/SCANassets/$s&quot; .; done" workingdir="${TargetDir}" externalConsole="true" />
<Command type="AfterBuild" command="for s in &quot;MapTraq&quot; &quot;Scanner 1&quot; &quot;Scanner 2&quot; &quot;Scanner 8&quot; &quot;Scanner 32&quot;; do mv &quot;./$s/part.cfg.ignore&quot; &quot;./$s/part.cfg&quot;; done" workingdir="${TargetDir}" externalConsole="true" />
<Command type="AfterBuild" command="bash -c 'for s in &quot;Plugins&quot; &quot;Flags&quot; &quot;Icons&quot; &quot;MM_Parts&quot; &quot;Parts&quot; &quot;Resources&quot;; do cp -ur &quot;${ProjectDir}/SCANassets/$s&quot; .; done'" workingdir="${TargetDir}" externalConsole="True" />
<Command type="Clean" command="rm LICENSE.txt CHANGELOG.txt README.md" workingdir="${TargetDir}" />
<Command type="Clean" command="bash -c 'for s in &quot;Plugins&quot; &quot;Flags&quot; &quot;Icons&quot; &quot;MM_Parts&quot; &quot;Parts&quot; &quot;Resources&quot;; do rm -r $s ; done'" workingdir="${TargetDir}" externalConsole="True" />
</CustomCommands>
</CustomCommands>
</PropertyGroup>
<ItemGroup>
<Reference Include="OpenResourceSystem_1_1_0">
<HintPath>..\Plugins\OpenResourceSystem_1_1_0.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\..\..\KSP_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\KSP_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
<HintPath>..\..\KSP_Data\Managed\System.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="OpenResourceSystem_1_1_0">
<HintPath>..\..\GameData\OpenResourceSystem\Plugins\OpenResourceSystem_1_1_0.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand All @@ -77,7 +79,7 @@
<MonoDevelop>
<Properties>
<Policies>
<TextStylePolicy FileWidth="100" TabWidth="5" RemoveTrailingWhitespace="True" EolMarker="Unix" inheritsSet="Mono" inheritsScope="text/plain" scope="text/x-csharp" />
<TextStylePolicy FileWidth="100" TabWidth="5" EolMarker="Unix" inheritsSet="Mono" inheritsScope="text/plain" scope="text/x-csharp" />
<CSharpFormattingPolicy IndentSwitchBody="True" IndentBreakStatements="False" NamespaceBraceStyle="DoNotChange" ClassBraceStyle="DoNotChange" InterfaceBraceStyle="DoNotChange" StructBraceStyle="DoNotChange" EnumBraceStyle="DoNotChange" MethodBraceStyle="DoNotChange" AnonymousMethodBraceStyle="DoNotChange" ConstructorBraceStyle="DoNotChange" DestructorBraceStyle="DoNotChange" PropertyBraceStyle="DoNotChange" PropertyGetBraceStyle="DoNotChange" PropertySetBraceStyle="DoNotChange" EventBraceStyle="DoNotChange" EventAddBraceStyle="DoNotChange" EventRemoveBraceStyle="DoNotChange" StatementBraceStyle="DoNotChange" BeforeMethodDeclarationParameterComma="True" WithinMethodDeclarationParentheses="True" BeforeMethodCallParameterComma="True" BeforeConstructorDeclarationParameterComma="True" WithinConstructorDeclarationParentheses="True" WithinIndexerDeclarationBracket="True" BeforeIndexerDeclarationParameterComma="True" BeforeDelegateDeclarationParameterComma="True" AfterDelegateDeclarationParameterComma="True" WithinDelegateDeclarationParentheses="True" BeforeNewParameterComma="True" BlankLinesBetweenTypes="0" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
</Policies>
</Properties>
Expand Down
1 change: 0 additions & 1 deletion SCANsatkethane/SCANsatkethane.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using SCANsat;
using Kethane;
using UnityEngine;

namespace SCANsatKethane
{

Expand Down
32 changes: 17 additions & 15 deletions SCANsatkethane/SCANsatkethane.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,48 +15,43 @@
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\</OutputPath>
<OutputPath>..\..\..\GameData\SCANsat</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<OutputPath>..\..\..\GameData\SCANsat</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\..\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Kethane">
<HintPath>..\..\..\Kethane\Plugins\Kethane.dll</HintPath>
<HintPath>..\..\..\GameData\Kethane\Plugins\Kethane.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
<HintPath>..\..\..\KSP_Data\Managed\System.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\..\KSP_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\..\KSP_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="SCANsatKethane.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SCANStarter.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\..\v7\SCANsat.csproj">
<Project>{3AE13948-477D-4375-8AB4-B45664966D9E}</Project>
<Name>SCANsat</Name>
<Private>False</Private>
</ProjectReference>
<Compile Include="SCANsatkethane.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand All @@ -66,4 +61,11 @@
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<ProjectReference Include="..\SCANsat.csproj">
<Project>{3AE13948-477D-4375-8AB4-B45664966D9E}</Project>
<Name>SCANsat</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
</Project>

0 comments on commit 84b0a1c

Please sign in to comment.