forked from amazingfate/loongoffice
We need to tell the MSVS 2010 build to use Windows7.1SDK
At least for me it wouldn't build otherwise. But yeah, what it somebody uses MSVS 2010 with another SDK? It seems that the solution only offers the SDK 7.1 as an alternative? The default was v100, whatever that measn. Could it be that my MSVS 2010 installation is borked? Or that I did not have to install a bundled SDK with it, because I already had a separate 7.1 SDK? Also simplify a bit, no need to $(filter) on VCVER inside ifeqs that already check the very same VCVER. Change-Id: Ifef98c9466fc24db27d9e38c6878c77adfb4ed75
This commit is contained in:
@ -28,19 +28,19 @@ ifeq ($(VCVER),110)
|
||||
cd $(EXTERNAL_WORKDIR)/PCbuild \
|
||||
&& MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:PlatformToolset=v110 \
|
||||
&& cd $(EXTERNAL_WORKDIR) \
|
||||
&& ln -s $(if $(filter 90,$(VCVER)),PC/VS9.0,PCbuild) LO_lib \
|
||||
&& ln -s PCbuild LO_lib \
|
||||
&& touch $@
|
||||
else ifeq ($(VCVER),100)
|
||||
cd $(EXTERNAL_WORKDIR)/PCbuild \
|
||||
&& MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0 \
|
||||
&& MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:PlatformToolset=Windows7.1SDK /ToolsVersion:4.0 \
|
||||
&& cd $(EXTERNAL_WORKDIR) \
|
||||
&& ln -s $(if $(filter 90,$(VCVER)),PC/VS9.0,PCbuild) LO_lib \
|
||||
&& ln -s PCbuild LO_lib \
|
||||
&& touch $@
|
||||
else ifeq ($(VCVER),90)
|
||||
cd $(EXTERNAL_WORKDIR)/PC/VS9.0 \
|
||||
&& MAKEFLAGS= $(COMPATH)/vcpackages/vcbuild.exe pcbuild.sln "Release|$(if $(filter INTEL,$(CPUNAME)),Win32,x64)" \
|
||||
&& cd $(EXTERNAL_WORKDIR) \
|
||||
&& ln -s $(if $(filter 90,$(VCVER)),PC/VS9.0,PCbuild) LO_lib \
|
||||
&& ln -s PC/VS9.0 LO_lib \
|
||||
&& touch $@
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user