From: Rod Widdowson Date: Tue, 30 Oct 2012 15:25:55 +0000 (+0000) Subject: First attempt at a master build file for the SP (including SAML, XMLTOOLING and insta... X-Git-Tag: 1.5.2~9 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=c71b48434c0ccba4ce90efe59b78121ebf4812c4 First attempt at a master build file for the SP (including SAML, XMLTOOLING and installers) --- diff --git a/msbuild/build.make b/msbuild/build.make new file mode 100644 index 0000000..b717877 --- /dev/null +++ b/msbuild/build.make @@ -0,0 +1,81 @@ +# +# Short cuts to make things easier + +SPROOT=$(MAKEDIR)\..\..\cpp-sp +XMLROOT=$(MAKEDIR)\..\..\cpp-xmltooling +SAMLROOT=$(MAKEDIR)\..\..\cpp-OpenSaml + + +# +# The targets. We want to build the two installers +# +all: clean msi32 msi64 + +clean: + cd ..\.. + del/s *.dll + del/s *.exe + del/s *.msm + del/s *.lib + del/s *.wixlib + del/s *.msi + +veryclean: clean + cd ..\.. + del/s *.obj *.wixobj + del/s *.lib *.wixlib + del/s *.pdb *.wixpdb + +# +msi32: mergemodules32 exe32 + cd $(SPROOT) + msbuild /property:Platform=Win32;Configuration=Release /maxcpucount .\shibboleth.sln /t:Installers\MergeModules;Installers\Installer + +msi64: mergemodules32 exe32 mergemodules64 exe64 + cd $(SPROOT) + msbuild /property:Platform=x64;Configuration=Release /maxcpucount .\shibboleth.sln /t:Installers\MergeModules;Installers\Installer + +mergemodules32: shibsp32 saml32 xmltooling32 + +mergemodules64: shibsp64 saml64 xmltooling64 + +shibsp32: + cd $(SPROOT) + msbuild /property:Platform=Win32;Configuration=Release /maxcpucount .\shibboleth.sln /t:shibsp;shibsp-lite + msbuild /property:Platform=Win32;Configuration=Debug /maxcpucount .\shibboleth.sln /t:shibsp;shibsp-lite + +shibsp64: + cd $(SPROOT) + msbuild /property:Platform=x64;Configuration=Release /maxcpucount .\shibboleth.sln /t:shibsp;shibsp-lite + msbuild /property:Platform=x64;Configuration=Debug /maxcpucount .\shibboleth.sln /t:shibsp;shibsp-lite + +saml32: + cd $(SAMLROOT) + msbuild /property:Platform=Win32;Configuration=Release /maxcpucount cpp-opensaml2.sln /t:saml;samlsign + msbuild /property:Platform=Win32;Configuration=Debug /maxcpucount cpp-opensaml2.sln /t:saml;samlsign + + +saml64: + cd $(SAMLROOT) + msbuild /property:Platform=x64;Configuration=Release /maxcpucount cpp-opensaml2.sln /t:saml;samlsign + msbuild /property:Platform=x64;Configuration=Debug /maxcpucount cpp-opensaml2.sln /t:saml;samlsign + +xmltooling32: + cd $(XMLROOT) + msbuild /property:Platform=Win32;Configuration=Release /maxcpucount cpp-xmltooling.sln /t:xmltooling;xmltooling-lite + msbuild /property:Platform=Win32;Configuration=Debug /maxcpucount cpp-xmltooling.sln /t:xmltooling;xmltooling-lite + +xmltooling64: + cd $(XMLROOT) + msbuild /property:Platform=x64;Configuration=Release /maxcpucount cpp-xmltooling.sln /t:xmltooling;xmltooling-lite + msbuild /property:Platform=x64;Configuration=Debug /maxcpucount cpp-xmltooling.sln /t:xmltooling;xmltooling-lite + +exe32: + cd $(SPROOT) + msbuild /property:Platform=Win32;Configuration=Release /maxcpucount .\shibboleth.sln /t:utilities\resolvertest;utilities\mdquery;Extensions\adfs;Extensions\adfs-lite;Extensions\odbc-store;Extensions\plugins;Extensions\plugins-lite;"Server Modules\fastcgi\shibauthorizer";"Server Modules\fastcgi\shibresponder";shibd;"Server Modules\isapi_shib";"Server Modules\mod_shib_13";"Server Modules\mod_shib_20";"Server Modules\mod_shib_22";"Server Modules\mod_shib_24";"Server Modules\nsapi_shib" + msbuild /property:Platform=Win32;Configuration=Debug /maxcpucount .\shibboleth.sln /t:utilities\resolvertest;utilities\mdquery;Extensions\adfs;Extensions\adfs-lite;Extensions\odbc-store;Extensions\plugins;Extensions\plugins-lite;"Server Modules\fastcgi\shibauthorizer";"Server Modules\fastcgi\shibresponder";shibd;"Server Modules\isapi_shib";"Server Modules\mod_shib_13";"Server Modules\mod_shib_20";"Server Modules\mod_shib_22";"Server Modules\mod_shib_24";"Server Modules\nsapi_shib" + +exe64: + cd $(SPROOT) + msbuild /property:Platform=x64;Configuration=Release /maxcpucount .\shibboleth.sln /t:utilities\resolvertest;utilities\mdquery;Extensions\adfs;Extensions\adfs-lite;Extensions\odbc-store;Extensions\plugins;Extensions\plugins-lite;"Server Modules\fastcgi\shibauthorizer";"Server Modules\fastcgi\shibresponder";shibd;"Server Modules\isapi_shib";"Server Modules\mod_shib_22";"Server Modules\mod_shib_24" + msbuild /property:Platform=x64;Configuration=Debug /maxcpucount .\shibboleth.sln /t:utilities\resolvertest;utilities\mdquery;Extensions\adfs;Extensions\adfs-lite;Extensions\odbc-store;Extensions\plugins;Extensions\plugins-lite;"Server Modules\fastcgi\shibauthorizer";"Server Modules\fastcgi\shibresponder";shibd;"Server Modules\isapi_shib";"Server Modules\mod_shib_22";"Server Modules\mod_shib_24"