build stellar and stellar-devel rpm

This commit is contained in:
luwenpeng
2024-05-29 16:14:38 +08:00
parent f82b85c979
commit ba1e651876
14 changed files with 35 additions and 40 deletions

View File

@@ -51,9 +51,6 @@ if(ENABLE_SANITIZE_ADDRESS AND ENABLE_SANITIZE_THREAD)
message(WARNING "Both ENABLE_SANITIZE_ADDRESS and ENABLE_SANITIZE_THREAD set, only ENABLE_SANITIZE_ADDRESS effected.")
endif()
add_custom_target("install-program" COMMAND ${CMAKE_COMMAND} ARGS -DCOMPONENT=Program -P cmake_install.cmake)
add_custom_target("install-profile" COMMAND ${CMAKE_COMMAND} ARGS -DCOMPONENT=Profile -P cmake_install.cmake)
enable_testing()
add_subdirectory(conf)
add_subdirectory(vendor)
@@ -63,4 +60,5 @@ add_subdirectory(script)
add_subdirectory(include)
add_subdirectory(test)
install(DIRECTORY DESTINATION log)
install(DIRECTORY DESTINATION log COMPONENT PROGRAM)
install(DIRECTORY DESTINATION plugin COMPONENT PROGRAM)