You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/08/08 06:50:16 UTC

[rocketmq-client-cpp] branch master updated: boost build64 on windows (#167)

This is an automated email from the ASF dual-hosted git repository.

dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git


The following commit(s) were added to refs/heads/master by this push:
     new f8e2faf  boost build64 on windows (#167)
f8e2faf is described below

commit f8e2faf653e76990c5ad298b4e1c295959b146e6
Author: doodoocoder <31...@qq.com>
AuthorDate: Thu Aug 8 14:50:11 2019 +0800

    boost build64 on windows (#167)
    
    use different command for x86 or x64 respectively
---
 README.md       | 6 +++++-
 win32_build.bat | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index c042054..2d07956 100644
--- a/README.md
+++ b/README.md
@@ -61,8 +61,12 @@ If your host is not available to internet to download the four library source fi
 
 [jsoncpp-0.10.6](https://codeload.github.com/jsj020122/jsoncpp-0.10.6/zip/master "jsoncpp-0.10.6") Extract to  $(rocketmq-client-cpp root dir)/thirdparty/jsoncpp-0.10.6 
 
-And then run following command to build rocketmq-client:
+And then run following command to build x86 rocketmq-client:
 
     win32_build.bat build
 
+to build x64 rocketmq-client:
+
+    win32_build.bat build64
+
 
diff --git a/win32_build.bat b/win32_build.bat
index 0cc2e0c..0095a05 100644
--- a/win32_build.bat
+++ b/win32_build.bat
@@ -85,7 +85,7 @@ set  ZLIB_INCLUDE="%cd%\zlib-1.2.3-src\src\zlib\1.2.3\zlib-1.2.3\"
 ::cd boost_1_58_0
 call bootstrap.bat
 @echo build start.....
-bjam.exe address-model=64 --with-serialization --with-atomic --with-log --with-locale --with-iostreams --with-system --with-regex --with-thread --with-date_time --with-chrono --with-filesystem  link=static  threading=multi variant=release runtime-link=shared
+.\b2 -j8 --with-serialization --with-atomic --with-log --with-locale --with-iostreams --with-system --with-regex --with-thread --with-date_time --with-chrono --with-filesystem --build-type=complete address-model=64 
 cd ../jsoncpp-0.10.6
 devenv ./jsoncpp_lib_static.vcxproj  /Build "Release|x64" /out log.txt
 cd ../libevent-release-2.0.22
@@ -98,4 +98,4 @@ devenv ./rocketmq-client-cpp.sln /Build "Release|x64" /out log.txt
 ::devenv ./rocketmq-client-cpp.vcxproj /Rebuild "Release|x64" /out log.txt
 ::cd ..
 @echo build end
-goto:eof
\ No newline at end of file
+goto:eof