1
2add_subdirectory(ui)
3
4spec2def(localmon.dll localmon.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    main.c
8    ports.c
9    precomp.h
10    tools.c
11    xcv.c)
12
13add_library(localmon MODULE
14    ${SOURCE}
15    localmon.rc
16    ${CMAKE_CURRENT_BINARY_DIR}/localmon.def)
17
18set_module_type(localmon win32dll UNICODE)
19target_link_libraries(localmon wine)
20add_importlibs(localmon advapi32 spoolss user32 msvcrt kernel32 ntdll)
21add_pch(localmon precomp.h SOURCE)
22add_cd_file(TARGET localmon DESTINATION reactos/system32 FOR all)
23