File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.13.4 FATAL_ERROR)
4
4
# ======================================================================================================================
5
5
6
6
# project
7
- project (Modbus_TCP_client_shm LANGUAGES CXX VERSION 1.3.0 )
7
+ project (Modbus_TCP_client_shm LANGUAGES CXX VERSION 1.3.1 )
8
8
9
9
# settings
10
10
set (Target "modbus-tcp-client-shm" ) # Executable name (without file extension!)
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ modbus-tcp-client-shm [OPTION...]
38
38
--force Force the use of the shared memory even if it already exists. Do not use this option per
39
39
default! It should only be used if the shared memory of an improperly terminated instance
40
40
continues to exist as an orphan and is no longer used.
41
- -s, --separate arg Use a separate shared memory for requests with the specified client id. The the client id
41
+ -s, --separate arg Use a separate shared memory for requests with the specified client id. The client id
42
42
(as hex value) is appended to the shared memory prefix (e.g. modbus_fc_DO). You can
43
43
specify multiple client ids by separating them with ','. Use --separate-all to generate
44
44
separate shared memories for all possible client ids.
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ ExternalProject_Add(
16
16
libmodbus
17
17
PREFIX ${MODBUS_BIN}
18
18
SOURCE_DIR ${MODBUS_DIR}
19
- DOWNLOAD_COMMAND cd ${MODBUS_DIR} && git clean -dfX && ${MODBUS_DIR} /autogen.sh
20
- CONFIGURE_COMMAND ${MODBUS_DIR} /configure --srcdir=${MODBUS_DIR} --prefix=${MODBUS_BIN} --enable-static=yes --disable-shared
21
- BUILD_COMMAND make
22
- INSTALL_COMMAND make install
19
+ DOWNLOAD_COMMAND cd ${MODBUS_DIR} && git clean -dfX
20
+ CONFIGURE_COMMAND cd ${MODBUS_DIR} && git clean -dfX && ${MODBUS_DIR} /autogen.sh && ${MODBUS_DIR} /configure --srcdir=${MODBUS_DIR} --prefix=${MODBUS_BIN} --enable-static=yes --disable-shared
21
+ BUILD_COMMAND cd ${MODBUS_DIR} && make
22
+ INSTALL_COMMAND cd ${MODBUS_DIR} && make install
23
23
BUILD_BYPRODUCTS ${MODBUS_STATIC_LIB}
24
24
)
25
25
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ int main(int argc, char **argv) {
164
164
" to exist as an orphan and is no longer used." )
165
165
(" s,separate" ,
166
166
" Use a separate shared memory for requests with the specified client id. "
167
- " The the client id (as hex value) is appended to the shared memory prefix (e.g. modbus_fc_DO)"
167
+ " The client id (as hex value) is appended to the shared memory prefix (e.g. modbus_fc_DO)"
168
168
" . You can specify multiple client ids by separating them with ','. "
169
169
" Use --separate-all to generate separate shared memories for all possible client ids." ,
170
170
cxxopts::value<std::vector<std::uint8_t >>())
You can’t perform that action at this time.
0 commit comments