mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 13:55:07 +00:00

Move LibCompress unit tests to LibCompress/Tests directory and register them with CMake's add_test. This allows us to run these tests with ninja test instead of running a separate executable. Also split the existing tests in 3 test files that better follow the source code structure (inspired by AK tests).
10 lines
167 B
CMake
10 lines
167 B
CMake
set(SOURCES
|
|
Deflate.cpp
|
|
Zlib.cpp
|
|
Gzip.cpp
|
|
)
|
|
|
|
serenity_lib(LibCompress compress)
|
|
target_link_libraries(LibCompress LibC LibCrypto)
|
|
|
|
add_subdirectory(Tests)
|