Skip to content

Commit

Permalink
Attempt2 at csproj conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
se5a committed Nov 11, 2018
1 parent eefd49d commit d3df1fd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Pulsar4X/Pulsar4X.ImGuiNetUI/Pulsar4X.ImGuiNetUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Windows_x64' ">
<IntermediateOutputPath>obj\Windows_x64\Debug</IntermediateOutputPath>
<DebugSymbols>false</DebugSymbols>
<DebugSymbols>true</DebugSymbols>
<DebugType></DebugType>
<OutputPath>bin\Windows_x64\Debug</OutputPath>
<DefineConstants></DefineConstants>
Expand Down Expand Up @@ -78,13 +78,13 @@
<None Remove="Resources\PulsarLogo.bmp" />
<None Remove="Resources\PulsarLogo.png" />
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'Linux_x64' ">
<ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
<None Include="Libs\cimgui\linux-x64\cimgui.so" Visable="false">
<Link>libcimgui.so</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'Windows_x64' ">
<ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
<None Include="Libs\cimgui\win-x64\cimgui.dll" Visable="false">
<Link>cimgui.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -94,17 +94,16 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'Windows_x86' ">
<None Include="Libs\cimgui\win-x86\cimgui.dll" Visable="false">
<Link>cimgui.dll</Link>
<ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
<None Include="Libs\cimgui\osx-x64\cimgui.dylib" Visable="false">
<Link>cimgui.dylib</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Libs\sdl2\win-x86\SDL2.dll" Visable="false">
<Link>SDL2.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<Content Include="Resources\OneStep.bmp">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down

0 comments on commit d3df1fd

Please sign in to comment.