gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 33/219: build-openssl.bat: Split the building of st


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 33/219: build-openssl.bat: Split the building of static and shared build types
Date: Wed, 22 May 2019 19:16:12 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 89efe0e396fac9f495c3aa1a90a5d4c1fae90e65
Author: Steve Holme <address@hidden>
AuthorDate: Sun Mar 31 17:45:03 2019 +0200

    build-openssl.bat: Split the building of static and shared build types
---
 projects/build-openssl.bat | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index 7a646c74d..b16887296 100644
--- a/projects/build-openssl.bat
+++ b/projects/build-openssl.bat
@@ -240,7 +240,8 @@ rem 
***************************************************************************
   call :configure x64 debug
 
   rem Perform the build
-  call :build x64
+  call :build x64 static
+  call :build x64 shared
 
   rem Perform the install
   call :install debug
@@ -252,7 +253,8 @@ rem 
***************************************************************************
   call :configure x64 release
 
   rem Perform the build
-  call :build x64
+  call :build x64 static
+  call :build x64 shared
 
   rem Perform the install
   call :install release
@@ -271,7 +273,8 @@ rem 
***************************************************************************
   call :configure x86 debug
 
   rem Perform the build
-  call :build x86
+  call :build x86 static
+  call :build x86 shared
 
   rem Perform the install
   call :install debug
@@ -283,7 +286,8 @@ rem 
***************************************************************************
   call :configure x86 release
 
   rem Perform the build
-  call :build x86
+  call :build x86 static
+  call :build x86 shared
 
   rem Perform the install
   call :install release
@@ -333,11 +337,13 @@ rem
 rem Main build function.
 rem
 rem %1 - Platform (x86 or x64)
+rem %2 - Build Type (static or shared)
 rem
 :build
   setlocal
 
   if "%1" == "" exit /B 1
+  if "%2" == "" exit /B 1
 
   if "%1" == "x86" (
     call ms\do_ms.bat
@@ -347,8 +353,13 @@ rem
     exit /B 1
   )
 
-  nmake -f ms\nt.mak
-  nmake -f ms\ntdll.mak
+  if "%2" == "static" (
+    nmake -f ms\nt.mak
+  ) else if "%2" == "shared" (
+    nmake -f ms\ntdll.mak
+  ) else (
+    exit /B 1
+  )
 
   exit /B 0
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]