mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
add install commands
instead of "make" use "make install/strip" release compile Former-commit-id: f4dd2d9e1a4d815b667665892a3bd9cec64218a3
This commit is contained in:
parent
12b406dd4b
commit
e01bcd708d
@ -60,6 +60,9 @@ if(ENABLE_OSX AND ENABLE_DISPMANX)
|
||||
endif(ENABLE_OSX AND ENABLE_DISPMANX)
|
||||
|
||||
|
||||
SET ( PROTOBUF_INSTALL_BIN_DIR ${CMAKE_SOURCE_DIR}/deploy )
|
||||
SET ( PROTOBUF_INSTALL_LIB_DIR ${CMAKE_SOURCE_DIR}/deploy )
|
||||
|
||||
#if(ENABLE_QT5)
|
||||
# TODO vs ENABLE_QT4?
|
||||
#endif(ENABLE_QT5)
|
||||
|
@ -31,13 +31,13 @@ else(ENABLE_QT5)
|
||||
QT4_WRAP_CPP(Hyperion_AML_HEADERS_MOC ${Hyperion_AML_QT_HEADERS})
|
||||
endif(ENABLE_QT5)
|
||||
|
||||
add_executable(hyperion-amlogic
|
||||
add_executable(${PROJECT_NAME}
|
||||
${Hyperion_AML_HEADERS}
|
||||
${Hyperion_AML_SOURCES}
|
||||
${Hyperion_AML_HEADERS_MOC}
|
||||
)
|
||||
|
||||
target_link_libraries(hyperion-amlogic
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
getoptPlusPlus
|
||||
blackborder
|
||||
hyperion-utils
|
||||
@ -46,7 +46,10 @@ target_link_libraries(hyperion-amlogic
|
||||
pthread
|
||||
)
|
||||
|
||||
qt4_use_modules(hyperion-amlogic
|
||||
qt4_use_modules(${PROJECT_NAME}
|
||||
Core
|
||||
Gui
|
||||
Network)
|
||||
|
||||
install ( TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
||||
|
@ -63,3 +63,6 @@ else(ENABLE_QT5)
|
||||
Network
|
||||
)
|
||||
endif(ENABLE_QT5)
|
||||
|
||||
|
||||
install ( TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
@ -39,3 +39,5 @@ target_link_libraries(hyperion-remote
|
||||
jsoncpp
|
||||
getoptPlusPlus
|
||||
${QT_LIBRARIES})
|
||||
|
||||
install ( TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
@ -53,3 +53,6 @@ target_link_libraries(hyperion-v4l2
|
||||
pthread
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
install ( TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
||||
|
@ -62,3 +62,5 @@ qt4_use_modules(hyperion-x11
|
||||
Gui
|
||||
Network)
|
||||
endif(ENABLE_QT5)
|
||||
|
||||
install ( TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
@ -33,3 +33,5 @@ endif (ENABLE_AMLOGIC)
|
||||
if (ENABLE_PROTOBUF)
|
||||
target_link_libraries(hyperiond protoserver)
|
||||
endif (ENABLE_PROTOBUF)
|
||||
|
||||
install ( TARGETS hyperiond DESTINATION "${CMAKE_SOURCE_DIR}/deploy/bin" )
|
||||
|
Loading…
Reference in New Issue
Block a user