diff options
| author | 刘学利 <[email protected]> | 2023-07-03 13:39:18 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2023-07-03 13:39:18 +0000 |
| commit | 21950877e691e1b52038d6cffa3914b944c9dfe9 (patch) | |
| tree | 9242fffc06ccc2bd89381f2e1e13067ac2ebab3e /CMakeLists.txt | |
| parent | fda2e4a435d7dbfce8d0ab1f2d02176255a77652 (diff) | |
代码重构,性能优化
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb930a..2ce3a56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ if (CMAKE_CXX_CPPCHECK) "--suppress=unmatchedSuppression" "--suppress=unreadVariable" "--suppress=unreachableCode" + "--suppress=constParameter" ) message("cppcheck start...") else() @@ -87,7 +88,7 @@ SET(CPACK_RPM_LIBRARIES_PRE_UNINSTALL_SCRIPT_FILE "${PROJECT_SOURCE_DIR}/cmake/p install(TARGETS ssl LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/${lib_name} COMPONENT LIBRARIES) install(FILES bin/${lib_name}.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/${lib_name} COMPONENT PROFILE) install(FILES bin/${lib_name}/${lib_name}.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/conf/${lib_name}/ COMPONENT PROFILE) -install(FILES src/${lib_name}.h DESTINATION /opt/MESA/include/MESA COMPONENT HEADER) +install(FILES include/${lib_name}.h DESTINATION /opt/MESA/include/MESA COMPONENT HEADER) file(GLOB DEMO "test/src/*.c" |
