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)
44# ======================================================================================================================
55
66# 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 )
88
99# settings
1010set (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...]
3838 --force Force the use of the shared memory even if it already exists. Do not use this option per
3939 default! It should only be used if the shared memory of an improperly terminated instance
4040 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
4242 (as hex value) is appended to the shared memory prefix (e.g. modbus_fc_DO). You can
4343 specify multiple client ids by separating them with ','. Use --separate-all to generate
4444 separate shared memories for all possible client ids.
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ ExternalProject_Add(
1616 libmodbus
1717 PREFIX ${MODBUS_BIN}
1818 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
2323 BUILD_BYPRODUCTS ${MODBUS_STATIC_LIB}
2424)
2525
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ int main(int argc, char **argv) {
164164 " to exist as an orphan and is no longer used." )
165165 (" s,separate" ,
166166 " 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)"
168168 " . You can specify multiple client ids by separating them with ','. "
169169 " Use --separate-all to generate separate shared memories for all possible client ids." ,
170170 cxxopts::value<std::vector<std::uint8_t >>())
You can’t perform that action at this time.
0 commit comments