mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:25:08 +00:00

Using a file(GLOB) to find all the test files in a directory is an easy hack to get things started, but has some drawbacks. Namely, if you add a test, it won't be found again without re-running CMake. `ninja` seems to do this automatically, but it would be nice to one day stop seeing it rechecking our globbed directories.
12 lines
237 B
CMake
12 lines
237 B
CMake
set(TEST_SOURCES
|
|
TestAES.cpp
|
|
TestBigInteger.cpp
|
|
TestChecksum.cpp
|
|
TestHash.cpp
|
|
TestHMAC.cpp
|
|
TestRSA.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibCrypto LIBS LibCrypto)
|
|
endforeach()
|