File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed
Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ include(BxVersionManager)
2222
2323# - Versioning only giving major and minor. Patch number is
2424# 0 or automatically deduced from an external file.
25- bx_version_set(BxRabbitMQ 0 4 )
25+ bx_version_set(BxRabbitMQ 1 0 )
2626
2727#-----------------------------------------------------------------------
2828# - Standard UNIX Tool install paths, including relative paths for use
Original file line number Diff line number Diff line change 22# and update through a PATCH number:
330.3.1
440.4.3
5- # 1.0.0
5+ 1.0.0
66#1.1.0
77#1.2.0
88# end
Original file line number Diff line number Diff line change 66
77.. code :: bash
88
9- $ boost_1_69_setup
10- $ bxjsontools_setup
11- $ ./tools/build.sh --boost-root /scratch/ubuntu18.04/BxInstall/boost-1.69.0 --mgr
9+ $ bxjsontools_1_0_0_setup
10+ $ ./tools/build.sh --with-manager
1211
1312
1413..
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ while [ -n "$1" ]; do
4646 if [ " ${opt} " = " --help" ]; then
4747 do_usage
4848 my_exit 0
49- elif [ " ${opt} " = " --mgr" ]; then
49+ elif [ " ${opt} " = " --mgr" -o " ${opt} " = " --with-manager " ]; then
5050 with_management=true
5151 elif [ " ${opt} " = " --boost-root" ]; then
5252 shift 1
6262
6363if [ ${with_management} = true ]; then
6464 if [ " x${bxjsontools_prefix} " = " x" ]; then
65+ which bxjsontools-query > /dev/null 2>&1
66+ if [ $? -ne 0 ]; then
67+ echo >&2 " [error] No 'bxjsontools-query' script! Abort!"
68+ my_exit 1
69+ fi
6570 bxjsontools_prefix=$( bxjsontools-query --cmakedir)
6671 fi
6772fi
@@ -115,16 +120,18 @@ boost_option=""
115120if [ " x${boost_root} " != " x" ]; then
116121 boost_option=" -DBOOST_ROOT=${boost_root} "
117122fi
118- with_mgr_opts=" "
123+
124+ manager_optionss=" "
119125if [ ${with_management} = true ]; then
120- with_mgr_opts =" -DBxJsontools_DIR=${bxjsontools_prefix} "
126+ manager_optionss =" -DBxJsontools_DIR=${bxjsontools_prefix} "
121127fi
128+
122129cmake \
123130 -DCMAKE_INSTALL_PREFIX=" ${install_dir} " \
124131 ${boost_option} \
125132 -DBXRABBITMQ_WITH_MANAGER=${with_management} \
126133 -DBXRABBITMQ_ENABLE_TESTING=${with_tests} \
127- ${with_mgr_opts } \
134+ ${manager_optionss } \
128135 ${src_dir}
129136if [ $? -ne 0 ]; then
130137 echo >&2 " [error] CMake failed! Abort!"
You can’t perform that action at this time.
0 commit comments