mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Build system upgrade:
Upgrading Prebuild.exe to correctly construct build solutions for crossplatform tools such as xbuild, monodevelop and nant. NOTE: Module prebuild files will need modification to work, as the prebuild must correctly define the reference path for all assemblies shipped in the OpenSimulator ./bin directory. These include assemblies such as XMLRPC.dll, OpenMetaverse.dll, Nini.dll, etc. . The entries should follow the form: <Reference name="Nini" path="../../../bin/"/> See the distributed prebuild.xml for further examples. Crossplatform tools: xbuild and monodevelop use the vs2008 OpenSim.sln and the .csproj files in each namespace. Changes to the Prebuild.exe are against svn 322 and are included in a patch attached to the mantis. And the dnpb source are available@ svn co https://dnpb.svn.sourceforge.net/svnroot/dnpb dnpb The patches are pending application by the dnpb team. After which, the un-modified upstream Prebuild.exe will work as expected.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
c0b16f09bf
commit
1e44ec84bd
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
|
||||
<Solution name="Prebuild">
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<?if OS = "Win32" ?>
|
||||
<CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
|
||||
<?else ?>
|
||||
<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
|
||||
<?endif ?>
|
||||
<OptimizeCode>false</OptimizeCode>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DebugInformation>true</DebugInformation>
|
||||
<SuppressWarnings>1595</SuppressWarnings>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<?if OS = "Win32" ?>
|
||||
<CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
|
||||
<?else ?>
|
||||
<CompilerDefines>TRACE;POSIX</CompilerDefines>
|
||||
<?endif ?>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<OptimizeCode>true</OptimizeCode>
|
||||
<DebugInformation>false</DebugInformation>
|
||||
<SuppressWarnings>1595</SuppressWarnings>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Files>
|
||||
<File>prebuild.xml</File>
|
||||
<Match path="doc" pattern="*.txt"/>
|
||||
</Files>
|
||||
<Project name="Prebuild" path="src" language="C#" assemblyName="Prebuild" icon="App.ico" type="Exe" rootNamespace="Prebuild" startupObject="Prebuild.Prebuild">
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<?if OS = "Win32" ?>
|
||||
<CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
|
||||
<?else ?>
|
||||
<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
|
||||
<?endif ?>
|
||||
<OptimizeCode>false</OptimizeCode>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DebugInformation>true</DebugInformation>
|
||||
<XmlDocFile>Prebuild.xml</XmlDocFile>
|
||||
<SuppressWarnings>1595</SuppressWarnings>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<?if OS = "Win32" ?>
|
||||
<CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
|
||||
<?else ?>
|
||||
<CompilerDefines>TRACE;POSIX</CompilerDefines>
|
||||
<?endif ?>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<OptimizeCode>true</OptimizeCode>
|
||||
<DebugInformation>false</DebugInformation>
|
||||
<XmlDocFile>Prebuild.xml</XmlDocFile>
|
||||
<SuppressWarnings>1595</SuppressWarnings>
|
||||
</Options>
|
||||
</Configuration>
|
||||
<Reference name="System.Xml" />
|
||||
<Reference name="System" />
|
||||
<Files>
|
||||
<Match pattern="App.ico" buildAction="EmbeddedResource"/>
|
||||
<Match path="data" pattern="prebuild-1.6.xsd" buildAction="EmbeddedResource"/>
|
||||
<Match pattern="*.cs" recurse="true"/>
|
||||
</Files>
|
||||
</Project>
|
||||
</Solution>
|
||||
</Prebuild>
|
||||
Reference in New Issue
Block a user