ec1e2522a45cd04a45085a7c115a47a7345e7811
[reactos.git] / dll / win32 / inseng / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(inseng ${CMAKE_CURRENT_SOURCE_DIR}/inseng.spec ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
8
9 add_library(inseng SHARED inseng_main.c regsvr.c)
10
11 set_module_type(inseng win32dll)
12
13 target_link_libraries(inseng
14 ${CMAKE_CURRENT_BINARY_DIR}/inseng.def
15 uuid
16 wine)
17
18 add_importlibs(inseng
19 ole32
20 advapi32
21 kernel32
22 ntdll)
23
24 add_dependencies(inseng inseng_def)
25 add_cab_target(inseng 1)