reactos/sdk/tools/hhpcomp/CMakeLists.txt

25 lines
553 B
CMake
Raw Normal View History

list(APPEND SOURCE
hhpcomp.cpp
hhp_reader.cpp
utils.cpp
chmc/chmc.c
chmc/err.c
lzx_compress/lz_nonslide.c
lzx_compress/lzx_layer.c
../port/mkstemps.c)
# used by lzx_compress
add_definitions(-DNONSLIDE)
add_executable(hhpcomp ${SOURCE})
target_link_libraries(hhpcomp)
if(MSVC)
# Disable warning "'x': unreferenced local variable"
add_target_compile_flags(hhpcomp "/wd4101")
# Disable warning "'=': conversion from 'a' to 'b', possible loss of data"
add_target_compile_flags(hhpcomp "/wd4244")
endif()