mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
- Move sdk\include\reactos\wine to sdk\include\wine - Reorder the directories in include_directories() to be closer to alphabetical. This should make it easier to determine what global include directories can be removed in the future.
23 lines
634 B
CMake
23 lines
634 B
CMake
|
|
remove_definitions(-D_WIN32_IE=0x600)
|
|
add_definitions(-D__ROS_LONG64__)
|
|
|
|
list(APPEND SOURCE
|
|
olecallback.c
|
|
print.c
|
|
registry.c
|
|
wordpad.c)
|
|
|
|
file(GLOB wordpad_rc_deps res/*.*)
|
|
add_rc_deps(rsrc.rc ${wordpad_rc_deps})
|
|
add_executable(wordpad ${SOURCE} rsrc.rc)
|
|
set_module_type(wordpad win32gui)
|
|
target_link_libraries(wordpad wine uuid)
|
|
add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET wordpad DESTINATION reactos/system32 FOR all)
|
|
|
|
if(MSVC)
|
|
# Disable warning C4477 (printf format warnings)
|
|
remove_target_compile_option(wordpad "/we4477")
|
|
endif()
|