[WSHOM_WINETEST] Sync with Wine Staging 4.18. CORE-16441
[reactos.git] / dll / win32 / smdll / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys)
3 spec2def(smdll.dll smdll.spec ADD_IMPORTLIB)
4
5 list(APPEND SOURCE
6 dllmain.c
7 query.c
8 precomp.h)
9
10 add_library(smdll MODULE
11 ${SOURCE}
12 smdll.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/smdll.def)
14
15 target_link_libraries(smdll smlib)
16 set_module_type(smdll nativedll ENTRYPOINT DllMainCRTStartup 12)
17 add_importlibs(smdll ntdll)
18 add_pch(smdll precomp.h SOURCE)
19 add_dependencies(smdll psdk)
20 add_cd_file(TARGET smdll DESTINATION reactos/system32 FOR all)