Files
uc2/CMakeLists.txt
T
Eremey Valetov ff06506bbc Add testing infrastructure with reference UC2 archives
Test corpus (empty, text, binary, compressible, incompressible) with
reference archives created by original UC2 v2.3 in DOSBox. Two CTest
tests: test_identify (magic detection) and test_extract (full
extraction pipeline verified byte-for-byte against corpus).
2026-03-11 08:29:04 -04:00

18 lines
365 B
CMake

cmake_minimum_required(VERSION 3.16)
project(UC2
VERSION 3.0.0
DESCRIPTION "UltraCompressor II — cross-platform revival"
LANGUAGES C ASM
)
include(cmake/UC2Platform.cmake)
add_subdirectory(lib)
add_subdirectory(cli)
option(UC2_BUILD_TESTS "Build tests" ON)
if(UC2_BUILD_TESTS AND NOT DJGPP)
enable_testing()
add_subdirectory(tests)
endif()