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)
17 add_pch(fusion_common precomp.h COMMON_SOURCE)
19 add_library(fusion MODULE
21 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
23 set_module_type(fusion win32dll)
24 target_link_libraries(fusion fusion_common uuid wine)
25 add_importlibs(fusion bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
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)