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