File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 1818cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
1919
2020project (MODBUSPP)
21- set (PROJECT_DESCRIPTION "libmodbuspp C++ wrapper for the libmodbus library" )
21+ set (PROJECT_DESCRIPTION "C++ wrapper for the libmodbus library" )
2222set (PROJECT_DESCRIPTION_TEXT "\
23- A C++ wrapper for the libmodbus library, to send/receive data with a device which\n\
24- respects the Modbus protocol. This library can use a serial port or an\n\
25- Ethernet connection."
23+ A C++ wrapper for the libmodbus library, to send/receive data with a device which\n\
24+ respects the Modbus protocol. This library can use a serial port or an\n\
25+ Ethernet connection."
2626)
2727
2828# library for the Modbus protocol
Original file line number Diff line number Diff line change @@ -32,12 +32,3 @@ install (DIRECTORY codelite/executable-modbuspp
3232 COMPONENT dev
3333 )
3434
35- # Examples
36- install (DIRECTORY ${PROJECT_SOURCE_DIR} /examples/
37- DESTINATION ${MODBUSPP_INSTALL_EXAMPLES_DIR}
38- COMPONENT dev
39- FILES_MATCHING PATTERN "*.c" PATTERN "*.cpp" PATTERN "*.project" PATTERN "*.workspace" PATTERN "CMakeLists.txt"
40- PATTERN ".clang/" EXCLUDE
41- PATTERN ".codelite/" EXCLUDE
42- PATTERN "cmake-build*/" EXCLUDE )
43-
Original file line number Diff line number Diff line change @@ -73,9 +73,21 @@ if (MODBUSPP_WITH_DOXYGEN_DOC)
7373 #message("MODBUSPP_INSTALL_DOC_DIR=${MODBUSPP_INSTALL_DOC_DIR}")
7474 #message("INSTALL_DATA_DIR=${INSTALL_DATA_DIR}")
7575
76+ # API documentation
7677 install (DIRECTORY ${CMAKE_BINARY_DIR} /html/
7778 DESTINATION ${MODBUSPP_INSTALL_DOC_DIR} /api-manual COMPONENT doc )
79+
80+ # manpages
7881 install (FILES ${manpages}
7982 DESTINATION "${INSTALL_DATA_DIR} /man/man3" COMPONENT doc )
8083
84+ # Examples
85+ install (DIRECTORY ${PROJECT_SOURCE_DIR} /examples/
86+ DESTINATION ${MODBUSPP_INSTALL_EXAMPLES_DIR}
87+ COMPONENT doc
88+ FILES_MATCHING PATTERN "*.c" PATTERN "*.cpp" PATTERN "*.project" PATTERN "*.workspace" PATTERN "CMakeLists.txt"
89+ PATTERN ".clang/" EXCLUDE
90+ PATTERN ".codelite/" EXCLUDE
91+ PATTERN "cmake-build*/" EXCLUDE )
92+
8193endif (MODBUSPP_WITH_DOXYGEN_DOC)
You can’t perform that action at this time.
0 commit comments