File: windows.mak

package info (click to toggle)
groestlcoin 2.17.2~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 20,948 kB
  • sloc: cpp: 103,119; sh: 4,198; python: 3,879; makefile: 1,016; ansic: 702; asm: 586; xml: 205
file content (29 lines) | stat: -rwxr-xr-x 1,113 bytes parent folder | download
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
#	Build MSI packages

MSB=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\amd64\msbuild.exe

WIX_LINK = light.exe -ext WixUIExtension -ext WixUtilExtension -dWixUILicenseRtf=doc\groestlcoin_lic.rtf -dWixUIDialogBmp=share\pixmaps\wix-banner.bmp -dWixUIBannerBmp=share\pixmaps\wix-topbanner.bmp


all : groestlcoin-2.17.2-win32.msi groestlcoin-2.17.2-win64.msi

src\qt\res_bitcoin.cpp : src\qt\moc.proj
	cd src\qt
	msbuild moc.proj
	cd ..\..


x86_R_St\groestlcoin-qt.exe : src\groestlcoin.cpp src\qt\res_bitcoin.cpp
	""$(MSB)"" groestlcoin.sln /p:Configuration=R_St,Platform=x86 /v:n

x64_R_St\groestlcoin-qt.exe : src\groestlcoin.cpp src\qt\res_bitcoin.cpp
	""$(MSB)"" groestlcoin.sln /p:Configuration=R_St,Platform=x64 /v:n


groestlcoin-2.17.2-win32.msi : groestlcoin.wxs x86_R_St\groestlcoin-qt.exe
	candle.exe -o groestlcoin-x86.wixobj groestlcoin.wxs
	$(WIX_LINK)  -out $@ groestlcoin-x86.wixobj

groestlcoin-2.17.2-win64.msi : groestlcoin.wxs x64_R_St\groestlcoin-qt.exe
	candle.exe -arch x64 -o groestlcoin-x64.wixobj groestlcoin.wxs
	$(WIX_LINK) -out $@ groestlcoin-x64.wixobj