2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(fusion.dll fusion.spec)
6 list(APPEND COMMON_SOURCE
13 ${CMAKE_CURRENT_BINARY_DIR}/fusion_stubs.c)
15 add_library(fusion_common STATIC ${COMMON_SOURCE})
16 add_dependencies(fusion_common psdk)
18 add_library(fusion SHARED
20 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
22 set_module_type(fusion win32dll)
23 target_link_libraries(fusion fusion_common uuid wine)
24 add_importlibs(fusion advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
25 add_pch(fusion_common fusionpriv.h COMMON_SOURCE)
26 add_cd_file(TARGET fusion DESTINATION reactos/Microsoft.NET/Framework/v1.0.3705 FOR all)
27 add_cd_file(TARGET fusion DESTINATION reactos/system32 FOR all)
29 add_subdirectory(fusion_1_1)
30 add_subdirectory(fusion_2_0)