xref: /reactos/dll/win32/inseng/CMakeLists.txt (revision 1734f297)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5add_definitions(-D__WINESRC__)
6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7spec2def(inseng.dll inseng.spec)
8
9list(APPEND SOURCE
10    icif.c
11    inf.c
12    inseng_main.c)
13
14list(APPEND PCH_SKIP_SOURCE
15    guid.c)
16
17add_library(inseng MODULE
18    ${SOURCE}
19    ${PCH_SKIP_SOURCE}
20    inseng.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
22    ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
23
24set_module_type(inseng win32dll)
25target_link_libraries(inseng uuid wine)
26add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
27add_pch(inseng precomp.h "${PCH_SKIP_SOURCE}")
28add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)
29