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)
22
22
23
23
# - Versioning only giving major and minor. Patch number is
24
24
# 0 or automatically deduced from an external file.
25
- bx_version_set(BxRabbitMQ 0 4 )
25
+ bx_version_set(BxRabbitMQ 1 0 )
26
26
27
27
#-----------------------------------------------------------------------
28
28
# - Standard UNIX Tool install paths, including relative paths for use
Original file line number Diff line number Diff line change 2
2
# and update through a PATCH number:
3
3
0.3.1
4
4
0.4.3
5
- # 1.0.0
5
+ 1.0.0
6
6
#1.1.0
7
7
#1.2.0
8
8
# end
Original file line number Diff line number Diff line change 6
6
7
7
.. code :: bash
8
8
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
12
11
13
12
14
13
..
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ while [ -n "$1" ]; do
46
46
if [ " ${opt} " = " --help" ]; then
47
47
do_usage
48
48
my_exit 0
49
- elif [ " ${opt} " = " --mgr" ]; then
49
+ elif [ " ${opt} " = " --mgr" -o " ${opt} " = " --with-manager " ]; then
50
50
with_management=true
51
51
elif [ " ${opt} " = " --boost-root" ]; then
52
52
shift 1
62
62
63
63
if [ ${with_management} = true ]; then
64
64
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
65
70
bxjsontools_prefix=$( bxjsontools-query --cmakedir)
66
71
fi
67
72
fi
@@ -115,16 +120,18 @@ boost_option=""
115
120
if [ " x${boost_root} " != " x" ]; then
116
121
boost_option=" -DBOOST_ROOT=${boost_root} "
117
122
fi
118
- with_mgr_opts=" "
123
+
124
+ manager_optionss=" "
119
125
if [ ${with_management} = true ]; then
120
- with_mgr_opts =" -DBxJsontools_DIR=${bxjsontools_prefix} "
126
+ manager_optionss =" -DBxJsontools_DIR=${bxjsontools_prefix} "
121
127
fi
128
+
122
129
cmake \
123
130
-DCMAKE_INSTALL_PREFIX=" ${install_dir} " \
124
131
${boost_option} \
125
132
-DBXRABBITMQ_WITH_MANAGER=${with_management} \
126
133
-DBXRABBITMQ_ENABLE_TESTING=${with_tests} \
127
- ${with_mgr_opts } \
134
+ ${manager_optionss } \
128
135
${src_dir}
129
136
if [ $? -ne 0 ]; then
130
137
echo >&2 " [error] CMake failed! Abort!"
You can’t perform that action at this time.
0 commit comments