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