reactos/reactos/base/applications/winhlp32/CMakeLists.txt

32 lines
738 B
CMake
Raw Normal View History

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(
-D__ROS_LONG64__
-D_CRT_NONSTDC_NO_DEPRECATE
-Dfileno=_fileno
-Disatty=_isatty)
list(APPEND SOURCE
callback.c
hlpfile.c
macro.c
string.c
winhelp.c
lex.yy.c)
add_executable(winhlp32
${SOURCE}
rsrc.rc)
set_module_type(winhlp32 win32gui)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
#allow_warnings(winhlp32)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
endif()