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