解耦开发1阶段完成,准备编译
This commit is contained in:
parent
786a0b0ae9
commit
54cbb1434e
@ -24,6 +24,10 @@ target_include_directories(rk3588_tests_legacy PRIVATE
|
||||
target_link_libraries(rk3588_tests_legacy PRIVATE project_options Threads::Threads)
|
||||
|
||||
add_test(NAME rk3588_tests_legacy COMMAND rk3588_tests_legacy)
|
||||
set_tests_properties(rk3588_tests_legacy PROPERTIES WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
if(WIN32)
|
||||
set_tests_properties(rk3588_tests_legacy PROPERTIES DISABLED TRUE)
|
||||
endif()
|
||||
|
||||
# New Google Test based tests
|
||||
add_executable(rk3588_gtests
|
||||
@ -32,6 +36,7 @@ add_executable(rk3588_gtests
|
||||
test_simple_json.cpp
|
||||
test_config_expand.cpp
|
||||
test_hw_factory.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/hw_factory.cpp
|
||||
${CMAKE_SOURCE_DIR}/src/utils/config_expand.cpp
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user