xref: /reactos/dll/win32/fusion/CMakeLists.txt (revision 63bb46a2)
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})
16target_link_libraries(fusion_common oldnames)
17add_dependencies(fusion_common psdk)
18add_pch(fusion_common precomp.h COMMON_SOURCE)
19
20add_library(fusion MODULE
21    version.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
23
24set_module_type(fusion win32dll)
25target_link_libraries(fusion fusion_common uuid wine)
26add_importlibs(fusion bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
27add_cd_file(TARGET fusion DESTINATION reactos/Microsoft.NET/Framework/v1.0.3705 FOR all)
28add_cd_file(TARGET fusion DESTINATION reactos/system32 FOR all)
29
30add_subdirectory(fusion_1_1)
31add_subdirectory(fusion_2_0)
32