1 2spec2def(ddraw.dll ddraw.spec ADD_IMPORTLIB) 3 4list(APPEND SOURCE 5 cleanup.c 6 main.c 7 startup.c 8 Clipper/clipper_main.c 9 Clipper/clipper_stubs.c 10 Color/color_stubs.c 11 d3d/DirectD3D_main.c 12 Ddraw/callbacks_dd_hel.c 13 Ddraw/ddraw_displaymode.c 14 Ddraw/ddraw_main.c 15 Ddraw/ddraw_setcooperativelevel.c 16 Ddraw/ddraw_stubs.c 17 Ddraw/GetCaps.c 18 Ddraw/GetDeviceIdentifier.c 19 Gamma/gamma_stubs.c 20 Kernel/kernel_stubs.c 21 Palette/createpalette.c 22 Palette/palette.c 23 Surface/callbacks_surf_hel.c 24 Surface/createsurface.c 25 Surface/surface_main.c 26 Surface/surface_stubs.c 27 Videoport/videoport_stubs.c 28 Vtable/DirectD3D_Vtable.c 29 Vtable/DirectD3D2_Vtable.c 30 Vtable/DirectD3D3_Vtable.c 31 Vtable/DirectD3D7_Vtable.c 32 Vtable/DirectDraw_Vtable.c 33 Vtable/DirectDraw2_Vtable.c 34 Vtable/DirectDraw4_Vtable.c 35 Vtable/DirectDraw7_Vtable.c 36 Vtable/DirectDrawSurface_Vtable.c 37 Vtable/DirectDrawSurface2_Vtable.c 38 Vtable/DirectDrawSurface3_Vtable.c 39 Vtable/DirectDrawSurface4_Vtable.c 40 Vtable/DirectDrawSurface7_Vtable.c) 41 42add_library(ddraw MODULE 43 ${SOURCE} 44 ddraw.rc 45 ${CMAKE_CURRENT_BINARY_DIR}/ddraw.def) 46 47set_module_type(ddraw win32dll) 48target_link_libraries(ddraw uuid dxguid ${PSEH_LIB}) 49add_importlibs(ddraw advapi32 gdi32 user32 msvcrt kernel32 ntdll) 50add_cd_file(TARGET ddraw DESTINATION reactos/system32 FOR all) 51