xref: /reactos/dll/win32/inseng/CMakeLists.txt (revision ebaf247c)
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    precomp.h
14    ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
15    ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
16
17add_library(inseng MODULE ${SOURCE} guid.c inseng.rc)
18set_module_type(inseng win32dll)
19target_link_libraries(inseng uuid wine)
20add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
21add_pch(inseng precomp.h SOURCE)
22add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)
23