1
2set(fusion_folder "${CMAKE_CURRENT_SOURCE_DIR}/..")
3spec2def(fusion.dll fusion.spec)
4
5add_library(fusion_2_0 MODULE
6    ${fusion_folder}/version.rc
7    ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
8
9set_module_type(fusion_2_0 win32dll)
10target_link_libraries(fusion_2_0 fusion_common uuid wine)
11set_target_properties(fusion_2_0 PROPERTIES OUTPUT_NAME "fusion" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
12add_importlibs(fusion_2_0 advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
13add_cd_file(TARGET fusion_2_0 DESTINATION reactos/Microsoft.NET/Framework/v2.0.50727 FOR all)
14