diff options
| author | liuxueli <[email protected]> | 2023-11-07 11:17:30 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-11-07 11:17:30 +0800 |
| commit | a8bae1fafe01c53caa8ebca1b8e0d9bd9c130f7a (patch) | |
| tree | 820ea43e158e7513e4139f3b34a4ea6b3cc405c3 | |
| parent | ee6b7e01559bb96dacbcdfc725e77e7a5bffae61 (diff) | |
Release stellar header file
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | CMakeLists.txt | 14 | ||||
| -rw-r--r-- | cmake/Package.cmake | 2 |
3 files changed, 16 insertions, 2 deletions
@@ -1,4 +1,6 @@ .idea/ .vscode build/ +build7 +build8 cmake-build* diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d27db0..063ebbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,11 @@ if (CMAKE_CXX_CPPCHECK) "--suppress=uninitvar" "--suppress=unusedStructMember" "--suppress=unreachableCode" + "--suppress=internalAstError" + "--suppress=nullPointerRedundantCheck" + "--suppress=ctunullpointer" + "--suppress=redundantAssignment" + "--suppress=duplicateValueTernary" ) set(CMAKE_C_CPPCHECK ${CMAKE_CXX_CPPCHECK}) else() @@ -70,7 +75,7 @@ include_directories(${CMAKE_SOURCE_DIR}) include_directories(${CMAKE_SOURCE_DIR}/deps) include_directories(${CMAKE_SOURCE_DIR}/include) -#add_subdirectory(vendor) +add_subdirectory(vendor) #add_subdirectory(deps/utable) add_subdirectory(deps/toml) add_subdirectory(src/adapter) @@ -79,3 +84,10 @@ add_subdirectory(examples/stellar_plugin) #enable_testing() #add_subdirectory(test) + + +install(FILES include/stellar/session_exdata.h DESTINATION /opt/tsg/include/stellar COMPONENT HEADER) +install(FILES include/stellar/session_mq.h DESTINATION /opt/tsg/include/stellar COMPONENT HEADER) +install(FILES include/stellar/session.h DESTINATION /opt/tsg/include/stellar COMPONENT HEADER) +install(FILES include/stellar/stellar.h DESTINATION /opt/tsg/include/stellar COMPONENT HEADER) +install(FILES include/stellar/utils.h DESTINATION /opt/tsg/include/stellar COMPONENT HEADER) diff --git a/cmake/Package.cmake b/cmake/Package.cmake index 3091159..4acc9ce 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -31,5 +31,5 @@ else() endif() # Setup %config(noreplace) -set(CPACK_RPM_USER_FILELIST "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/conf/stellar/stellar.conf") +# set(CPACK_RPM_USER_FILELIST "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/conf/stellar/stellar.conf") include(CPack) |
