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