xref: /reactos/dll/win32/fusion/CMakeLists.txt (revision 3adf4508)
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)
17add_pch(fusion_common precomp.h COMMON_SOURCE)
18
19add_library(fusion MODULE
20    version.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
22
23set_module_type(fusion win32dll)
24target_link_libraries(fusion fusion_common uuid wine)
25add_importlibs(fusion bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
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