1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(fusion.dll fusion.spec) 5 6list(APPEND COMMON_SOURCE 7 asmcache.c 8 asmenum.c 9 asmname.c 10 assembly.c 11 fusion.c 12 precomp.h 13 ${CMAKE_CURRENT_BINARY_DIR}/fusion_stubs.c) 14 15add_library(fusion_common STATIC ${COMMON_SOURCE}) 16add_dependencies(fusion_common psdk) 17 18add_library(fusion MODULE 19 version.rc 20 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def) 21 22set_module_type(fusion win32dll) 23target_link_libraries(fusion fusion_common uuid wine) 24add_importlibs(fusion bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll) 25add_pch(fusion_common precomp.h COMMON_SOURCE) 26add_cd_file(TARGET fusion DESTINATION reactos/Microsoft.NET/Framework/v1.0.3705 FOR all) 27add_cd_file(TARGET fusion DESTINATION reactos/system32 FOR all) 28 29add_subdirectory(fusion_1_1) 30add_subdirectory(fusion_2_0) 31