Merge ok.
This commit is contained in:
parent
f6173a8786
commit
4edb207b1d
|
@ -46,11 +46,13 @@ endif()
|
||||||
|
|
||||||
set(TARGET_NAME HuntingCameraTest)
|
set(TARGET_NAME HuntingCameraTest)
|
||||||
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
||||||
|
target_link_libraries(${TARGET_NAME} McuProtocolTestTool UartDeviceTestTool)
|
||||||
target_link_libraries(${TARGET_NAME}# -Wl,--start-group
|
target_link_libraries(${TARGET_NAME}# -Wl,--start-group
|
||||||
HuntingMainLib MissionManagerTestTool McuManagerTestTool McuAskBaseTestTool
|
HuntingMainLib MissionManagerTestTool McuManagerTestTool McuAskBaseTestTool
|
||||||
AppManagerTestTool HalTestTool DeviceManagerTestTool TestManager
|
AppManagerTestTool HalTestTool DeviceManagerTestTool TestManager UartDevice Hal LinuxApiMock
|
||||||
# -Wl,--end-group
|
# -Wl,--end-group
|
||||||
gtest gmock pthread)
|
gtest gmock pthread)
|
||||||
|
target_link_libraries(${TARGET_NAME} UpgradeTool Servers MediaBase)
|
||||||
if(${TEST_COVERAGE} MATCHES "true")
|
if(${TEST_COVERAGE} MATCHES "true")
|
||||||
target_link_libraries(${TARGET_NAME} gcov)
|
target_link_libraries(${TARGET_NAME} gcov)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -38,7 +38,7 @@ endif()
|
||||||
set(TARGET_NAME AppManagerTest)
|
set(TARGET_NAME AppManagerTest)
|
||||||
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
||||||
target_link_libraries(${TARGET_NAME} AppManagerTestTool HalTestTool gtest gmock pthread)
|
target_link_libraries(${TARGET_NAME} AppManagerTestTool HalTestTool gtest gmock pthread)
|
||||||
target_link_libraries(${TARGET_NAME} AppManager Servers KeyControl LedControl Hal LinuxApiMock)
|
target_link_libraries(${TARGET_NAME} AppManager Servers KeyControl LedControl Hal LinuxApiMock MediaBase)
|
||||||
if(${TEST_COVERAGE} MATCHES "true")
|
if(${TEST_COVERAGE} MATCHES "true")
|
||||||
target_link_libraries(${TARGET_NAME} gcov)
|
target_link_libraries(${TARGET_NAME} gcov)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -36,7 +36,7 @@ endif()
|
||||||
set(TARGET_NAME DeviceManagerTest)
|
set(TARGET_NAME DeviceManagerTest)
|
||||||
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
||||||
target_link_libraries(${TARGET_NAME} DeviceManager DeviceManagerTestTool HalTestTool gtest gmock pthread)
|
target_link_libraries(${TARGET_NAME} DeviceManager DeviceManagerTestTool HalTestTool gtest gmock pthread)
|
||||||
target_link_libraries(${TARGET_NAME} Hal LinuxApiMock)
|
target_link_libraries(${TARGET_NAME} Hal LinuxApiMock MediaBase)
|
||||||
if(${TEST_COVERAGE} MATCHES "true")
|
if(${TEST_COVERAGE} MATCHES "true")
|
||||||
target_link_libraries(${TARGET_NAME} gcov)
|
target_link_libraries(${TARGET_NAME} gcov)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -37,7 +37,7 @@ endif()
|
||||||
set(TARGET_NAME MediaManagerTest)
|
set(TARGET_NAME MediaManagerTest)
|
||||||
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
add_executable(${TARGET_NAME} ${SRC_FILES_MAIN} ${SRC_FILES})
|
||||||
target_link_libraries(${TARGET_NAME} MediaManager MediaManagerTestTool HalTestTool gtest gmock pthread)
|
target_link_libraries(${TARGET_NAME} MediaManager MediaManagerTestTool HalTestTool gtest gmock pthread)
|
||||||
target_link_libraries(${TARGET_NAME} Hal LedControl LinuxApiMock)
|
target_link_libraries(${TARGET_NAME} Hal LedControl LinuxApiMock MediaBase)
|
||||||
if(${TEST_COVERAGE} MATCHES "true")
|
if(${TEST_COVERAGE} MATCHES "true")
|
||||||
target_link_libraries(${TARGET_NAME} gcov)
|
target_link_libraries(${TARGET_NAME} gcov)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user