This commit is contained in:
Carsten Larsen 2016-12-13 19:08:00 +01:00
commit 8c0bc13a35
3 changed files with 18 additions and 5 deletions

View File

@ -17,7 +17,7 @@ Run:
# sudo apt-get install ntp (use updated versions)
Build and install ntpa with:
# make install
# make -f Makefile.xbuild install-linux
Windows

View File

@ -1,10 +1,10 @@
all: release
debug:
xbuild /p:Configuration=Debug /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
xbuild /p:Configuration=Debug /p:TargetFrameworkVersion=v4.0 /p:NPlot=nuget Ntp.Analyzer.sln
release:
xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /p:NPlot=nuget Ntp.Analyzer.sln
install: release
install -d ${DESTDIR}$(PREFIX)/sbin

View File

@ -34,8 +34,21 @@
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="NPlot, Version=0.9.11.0, Culture=neutral, PublicKeyToken=1d82a50c5d01c44e" />
</ItemGroup>
<Choose>
<When Condition=" '$(NPlot)' == 'nuget' ">
<ItemGroup>
<Reference Include="NPlot">
<HintPath>..\packages/NPlot.0.9.10.0/lib/net20/NPlot.dll</HintPath>
</Reference>
</ItemGroup>
</When>
<When Condition=" '$(NPlot)' != 'nuget' ">
<ItemGroup>
<Reference Include="NPlot, Version=0.9.11.0, Culture=neutral, PublicKeyToken=1d82a50c5d01c44e" />
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<Compile Include="..\Shared\AssemblyInfo.cs" />
<Compile Include="Config\Attribute\NtpaIndex.cs" />
@ -251,4 +264,4 @@
</Properties>
</MonoDevelop>
</ProjectExtensions>
</Project>
</Project>