[CMAKE]
[reactos.git] / dll / win32 / fusion / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 set_rc_compiler()
7
8 spec2def(fusion.dll fusion.spec)
9
10 list(APPEND SOURCE
11 asmcache.c
12 asmenum.c
13 asmname.c
14 assembly.c
15 fusion.c
16 fusion_main.c
17 ${CMAKE_CURRENT_BINARY_DIR}/fusion_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
19
20 add_library(fusion SHARED ${SOURCE})
21
22 set_module_type(fusion win32dll)
23 target_link_libraries(fusion wine uuid)
24 add_importlibs(fusion shlwapi advapi32 dbghelp user32 msvcrt kernel32 ntdll)
25 add_cd_file(TARGET fusion DESTINATION reactos/system32)