-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile46
48 lines (42 loc) · 1.22 KB
/
Makefile46
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
ifndef prefix
prefix=/usr
endif
ifndef binsrc
binsrc=${PWD}
endif
ifndef bindst
bindst=$(binsrc)/output/Release
endif
ifndef BUILD_NUMBER
BUILD_NUMBER=1.13.4.4657
endif
ifndef Platform
Platform=Any CPU
endif
ifndef MONO_PREFIX
MONO_PREFIX=/opt/mono4-sil
endif
ifndef GDK_SHARP
GDK_SHARP=$(MONO_PREFIX)/lib/mono/gtk-sharp-3.0
endif
ifndef LD_LIBRARY_PATH
LD_LIBRARY_PATH=$(MONO_PREFIX)/lib
endif
ifndef PKG_CONFIG_PATH
PKG_CONFIG_PATH=$(MONO_PREFIX)/lib/pkgconfig
endif
ifndef MONO_GAC_PREFIX
MONO_GAC_PREFIX=$(MONO_PREFIX)
endif
ifndef MONO_MWF_SCALING
MONO_MWF_SCALING=disable
endif
PATH := $(MONO_PREFIX)/bin:$(PATH)
build:
xbuild /t:ReBuild /p:BUILD_NUMBER=$(BUILD_NUMBER)\;Configuration=Release7BTE\;Platform='$(Platform)'\;OS=Linux\;SolutionDir=$(binsrc)/ Pathway46.sln
debug:
xbuild /t:ReBuild /p:BUILD_NUMBER=$(BUILD_NUMBER)\;Configuration=Debug\;Platform='$(Platform)'\;OS=Linux\;SolutionDir=$(binsrc)/ Pathway46.sln
buildStep:
xbuild /t:ReBuild /p:BUILD_NUMBER=$(BUILD_NUMBER)\;Configuration=Debug\;Platform='$(Platform)'\;OS=Linux\;SolutionDir=$(binsrc)/\;OutputPath=$(binsrc)/src/BuildStep/bin/Debug src/BuildStep/BuildStep.csproj
tests:
nunit-console -exclude=SkipOnTeamCity\;LongTest -labels -nodots output/Debug/Test.dll