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