[CMAKE]
[reactos.git] / dll / win32 / inseng / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(inseng.dll inseng.spec)
10
11 list(APPEND SOURCE
12 inseng_main.c
13 regsvr.c
14 ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
16
17 add_library(inseng SHARED ${SOURCE})
18
19 set_module_type(inseng win32dll)
20
21 target_link_libraries(inseng uuid wine)
22
23 add_importlibs(inseng
24 ole32
25 advapi32
26 msvcrt
27 kernel32
28 ntdll)
29
30 add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)