7df9dd96abe7a7c17967a31963dafb3fbdae5eff
[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 inseng_main.c
11 ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
13
14 add_library(inseng SHARED ${SOURCE} inseng.rc)
15 set_module_type(inseng win32dll)
16 target_link_libraries(inseng uuid wine)
17 add_importlibs(inseng ole32 advapi32 msvcrt kernel32 ntdll)
18 add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)