21 lines
292 B
CMake
21 lines
292 B
CMake
include(GoogleTest)
|
|
|
|
add_executable(test-metadata
|
|
Metadata.cpp
|
|
Utils.cpp
|
|
)
|
|
|
|
target_include_directories(test-metadata PRIVATE
|
|
../impl
|
|
)
|
|
|
|
target_link_libraries(test-metadata PRIVATE
|
|
lmsmetadata
|
|
GTest::GTest
|
|
)
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
gtest_discover_tests(test-metadata)
|
|
endif()
|
|
|