Files
Compression-Algorithm/app/CMakeLists.txt
2024-04-15 16:58:02 +05:30

11 lines
438 B
CMake

if(COMPILE_COMPRESSOR)
add_executable(${COMPRESSOR} "main-c.c")
target_link_libraries(${COMPRESSOR} PUBLIC ${CLIBRARY} ${HUFFMAN_LIBRARY})
target_include_directories(${COMPRESSOR} PUBLIC "../include")
endif()
if(COMPILE_EXTRACTOR)
add_executable(${EXTRACTOR} "main-e.c")
target_link_libraries(${EXTRACTOR} PUBLIC ${CLIBRARY} ${HUFFMAN_LIBRARY})
target_include_directories(${EXTRACTOR} PUBLIC "../include")
endif()