2022-11-07 08:12:35 +00:00
|
|
|
set(DCOMMONTEST_SOURCES
|
|
|
|
"AMFDeserializeTests.cpp"
|
2023-05-13 22:22:00 +00:00
|
|
|
"Amf3Tests.cpp"
|
2023-05-08 11:31:10 +00:00
|
|
|
"HeaderSkipTest.cpp"
|
2022-11-07 08:12:35 +00:00
|
|
|
"TestLDFFormat.cpp"
|
|
|
|
"TestNiPoint3.cpp"
|
|
|
|
"TestEncoding.cpp"
|
2023-09-21 01:06:28 +00:00
|
|
|
"TestLUString.cpp"
|
|
|
|
"TestLUWString.cpp"
|
2023-05-02 22:19:20 +00:00
|
|
|
"dCommonDependencies.cpp"
|
2022-11-07 08:12:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# Set our executable
|
|
|
|
add_executable(dCommonTests ${DCOMMONTEST_SOURCES})
|
|
|
|
|
|
|
|
# Link needed libraries
|
|
|
|
target_link_libraries(dCommonTests ${COMMON_LIBRARIES} GTest::gtest_main)
|
|
|
|
|
|
|
|
# Copy test files to testing directory
|
|
|
|
add_subdirectory(TestBitStreams)
|
|
|
|
file(COPY ${TESTBITSTREAMS} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
# Discover the tests
|
|
|
|
gtest_discover_tests(dCommonTests)
|