mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[TOOLS]
- Fix MSVC warnings for C++ host-tools svn path=/trunk/; revision=68998
This commit is contained in:
parent
8cb9d1125b
commit
ddfbce11a3
2 changed files with 12 additions and 0 deletions
|
@ -11,6 +11,10 @@ add_executable(geninc geninc/geninc.c)
|
|||
add_executable(mkshelllink mkshelllink/mkshelllink.c)
|
||||
add_executable(obj2bin obj2bin/obj2bin.c)
|
||||
add_executable(spec2def spec2def/spec2def.c)
|
||||
|
||||
if(MSVC)
|
||||
set_property(SOURCE utf16le/utf16le.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc")
|
||||
endif()
|
||||
add_executable(utf16le utf16le/utf16le.cpp)
|
||||
|
||||
add_subdirectory(cabman)
|
||||
|
|
|
@ -12,5 +12,13 @@ list(APPEND SOURCE
|
|||
# used by lzx_compress
|
||||
add_definitions(-DNONSLIDE)
|
||||
|
||||
if(MSVC)
|
||||
set_property(SOURCE
|
||||
hhpcomp.cpp
|
||||
hhp_reader.cpp
|
||||
utils.cpp
|
||||
APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc")
|
||||
endif()
|
||||
|
||||
add_executable(hhpcomp ${SOURCE})
|
||||
target_link_libraries(hhpcomp)
|
||||
|
|
Loading…
Reference in a new issue