[INSENG] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / dll / win32 / inseng / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(inseng.dll inseng.spec)
8
9 list(APPEND SOURCE
10 icif.c
11 inf.c
12 inseng_main.c
13 precomp.h
14 ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
16
17 add_library(inseng SHARED ${SOURCE} guid.c inseng.rc)
18 set_module_type(inseng win32dll)
19 target_link_libraries(inseng uuid wine)
20 add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
21 add_pch(inseng precomp.h SOURCE)
22 add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)