xref: /reactos/dll/win32/resutils/CMakeLists.txt (revision 682f85ad)
1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3add_definitions(-D__WINESRC__)
4spec2def(resutils.dll resutils.spec)
5
6list(APPEND SOURCE
7    resutils.c
8    ${CMAKE_CURRENT_BINARY_DIR}/resutils_stubs.c
9    ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
10
11add_library(resutils MODULE ${SOURCE})
12set_module_type(resutils win32dll)
13target_link_libraries(resutils wine)
14add_importlibs(resutils msvcrt kernel32 ntdll)
15add_cd_file(TARGET resutils DESTINATION reactos/system32 FOR all)
16