reactos/dll/win32/riched20/CMakeLists.txt
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

41 lines
942 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
list(APPEND SOURCE
caret.c
clipboard.c
context.c
editor.c
list.c
paint.c
para.c
reader.c
richole.c
row.c
run.c
string.c
style.c
table.c
txthost.c
txtsrv.c
undo.c
wrap.c
writer.c
${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
if(MSVC)
if(ARCH STREQUAL "i386")
list(APPEND SOURCE msvc-thiscall.c)
endif()
set_source_files_properties(txthost.c txtsrv.c PROPERTIES COMPILE_FLAGS "/FImsvc.h")
endif()
add_library(riched20 SHARED ${SOURCE} version.rc)
set_module_type(riched20 win32dll)
target_link_libraries(riched20 wine uuid)
add_importlibs(riched20 ole32 oleaut32 imm32 user32 gdi32 msvcrt kernel32 ntdll)
add_pch(riched20 editor.h)
add_cd_file(TARGET riched20 DESTINATION reactos/system32 FOR all)