[FUSION] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / dll / win32 / fusion / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(fusion.dll fusion.spec)
5
6 list(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
15 add_library(fusion_common STATIC ${COMMON_SOURCE})
16 add_dependencies(fusion_common psdk)
17
18 add_library(fusion SHARED
19 version.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
21
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 precomp.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)
28
29 add_subdirectory(fusion_1_1)
30 add_subdirectory(fusion_2_0)