mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
1e367ccbb7
It regressed by 0.4.12-dev-1064-g09c4d0a74b
when we tried to mute compiler warnings in the GCC Release configuration for all modules, that do contain .y files. In master we switched to use flex+bison to process those files at build-time in 0.4.15-dev-2277-g28dadda8be
and at the same time reverted the guilty rev. In the backport to the old releases we do only revert, but do not introduce flex+bison. This will reintroduce the warnings in GCC Release configuration.
24 lines
642 B
CMake
24 lines
642 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D__ROS_LONG64__
|
|
-Dfileno=_fileno
|
|
-Disatty=_isatty)
|
|
|
|
list(APPEND SOURCE
|
|
callback.c
|
|
hlpfile.c
|
|
macro.c
|
|
winhelp.c
|
|
precomp.h)
|
|
|
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
|
|
add_executable(winhlp32 ${SOURCE} macro.lex.yy.c string.c rsrc.rc)
|
|
set_module_type(winhlp32 win32gui)
|
|
target_link_libraries(winhlp32 wine)
|
|
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
|
add_pch(winhlp32 precomp.h SOURCE)
|
|
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|