forked from accord-net/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.sh
More file actions
executable file
·26 lines (21 loc) · 826 Bytes
/
Build.sh
File metadata and controls
executable file
·26 lines (21 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
###########
echo " "
echo "Accord.NET Framework all projects configurations builder "
echo "========================================================="
echo " "
echo "This Linux bash script will use Mono's xbuild tool to "
echo "compile the Debug and Release versions of the framework. "
echo " "
if [ $# -eq 0 ] || [ "$1" == "framework" ]; then
echo ""
echo " - Building NET40 configuration..."
echo ""
xbuild /p:Configuration=NET40 Sources/Accord.NET.Mono.sln
fi
if [ $# -eq 0 ] || [ "$1" == "samples" ]; then
echo ""
echo " - Building samples..."
echo ""
xbuild /p:Configuration=Mono /p:Platform=x86 Samples/Samples.sln
fi