02e67820afc444f6a2d01db2e833211ed33ef789
[reactos.git] / reactos / sdk / tools / hhpcomp / CMakeLists.txt
1
2 list(APPEND SOURCE
3 hhpcomp.cpp
4 hhp_reader.cpp
5 utils.cpp
6 chmc/chmc.c
7 chmc/err.c
8 lzx_compress/lz_nonslide.c
9 lzx_compress/lzx_layer.c
10 port/mkstemps.c)
11
12 # used by lzx_compress
13 add_definitions(-DNONSLIDE)
14
15 if(MSVC)
16 set_property(SOURCE
17 hhpcomp.cpp
18 hhp_reader.cpp
19 utils.cpp
20 APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc")
21 endif()
22
23 add_executable(hhpcomp ${SOURCE})
24 target_link_libraries(hhpcomp)