xref: /reactos/dll/win32/resutils/CMakeLists.txt (revision 89271fe3)
1
2include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3add_definitions(-D__WINESRC__)
4
5spec2def(resutils ${CMAKE_CURRENT_SOURCE_DIR}/resutils.spec ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
6
7add_library(resutils SHARED resutils.c)
8
9set_module_type(resutils win32dll)
10
11target_link_libraries(resutils
12    ${CMAKE_CURRENT_BINARY_DIR}/resutils.def
13    wine)
14
15add_importlibs(resutils kernel32 ntdll)
16add_dependencies(resutils resutils_def)
17add_livecd_target(resutils reactos/system32)
18