mirror of
https://github.com/R-YaTian/TinkeDSi.git
synced 2025-06-18 08:35:35 -04:00
Merge: Upgrade to msbuild for Linux (Part 2)
This commit is contained in:
parent
20575e4bad
commit
b66c21b3bc
@ -56,7 +56,6 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
@ -71,7 +70,6 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>BasicCorrectnessRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
@ -183,4 +181,4 @@
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -149,4 +149,4 @@
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -41,11 +41,11 @@ if [ -d "$BUILD_DIR" ]; then
|
||||
fi
|
||||
|
||||
# Get compiler and params
|
||||
XBUILD="xbuild /v:minimal /p:Configuration=$CONF;TargetFrameworkVersion=v4.5"
|
||||
XBUILD="msbuild /v:minimal /p:Configuration=$CONF"
|
||||
|
||||
# Compile program in standard directory, to allow plugins find Ekona
|
||||
echo "Compiling base library..."
|
||||
xbuild /v:minimal /p:TargetFrameworkVersion=v4.5 Tinke.sln > build.log
|
||||
msbuild /v:minimal Tinke.sln > build.log
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "Error compiling Tinke into the default directory. Aborting."
|
||||
cat build.log
|
||||
@ -119,8 +119,6 @@ cp "$TINKE_DIR/Licence.txt" "$BUILD_DIR/"
|
||||
cp "$TINKE_DIR/Tinke/app.config" "$BUILD_DIR/"
|
||||
|
||||
# Delete debug files
|
||||
rm "$BUILD_DIR"/*.mdb
|
||||
rm "$BUILD_DIR"/Plugins/*.mdb
|
||||
rm build.log
|
||||
|
||||
echo "Done!"
|
||||
|
Loading…
Reference in New Issue
Block a user