reactos/sdk/tools/hhpcomp/CMakeLists.txt
Serge Gautherie 4cd7b3a3df
[HHPCOMP] Fix 2 MSVC C4101 warnings (#2392)
"...\chmc\chmc.c(671): warning C4101: 'code': unreferenced local variable"
"...\chmc\chmc.c(671): warning C4101: 'len': unreferenced local variable"
2020-06-06 18:42:47 +02:00

21 lines
453 B
CMake

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 "'=': conversion from 'a' to 'b', possible loss of data"
target_compile_options(hhpcomp PRIVATE "/wd4244")
endif()