21 lines
No EOL
615 B
CMake
21 lines
No EOL
615 B
CMake
|
|
list(APPEND compression_LIB_INCLUDES
|
|
StreamCompressor.cpp
|
|
HuffmanEncoder.cpp
|
|
RunLengthEncoder.cpp
|
|
ZlibData.cpp
|
|
ZlibEncoder.cpp
|
|
DeflateEncoder.cpp
|
|
DeflateBlock.cpp
|
|
Lz77Encoder.cpp
|
|
)
|
|
|
|
add_library(compression SHARED ${compression_LIB_INCLUDES})
|
|
|
|
target_include_directories(compression PUBLIC
|
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
|
)
|
|
|
|
target_link_libraries(compression PUBLIC core)
|
|
set_property(TARGET compression PROPERTY FOLDER src)
|
|
set_target_properties( compression PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON ) |