1 2add_subdirectory(wine) 3 4add_definitions(-DLANGPACK) 5 6include_directories( 7 include 8 ${REACTOS_SOURCE_DIR}/win32ss/include) 9 10add_definitions(-DLANGPACK) 11spec2def(gdi32.dll gdi32.spec ADD_IMPORTLIB) 12 13if(ARCH STREQUAL "i386") 14 list(APPEND SOURCE objects/efloat.c) 15endif() 16 17list(APPEND SOURCE 18 main/dllmain.c 19 misc/heap.c 20 misc/gdientry.c 21 misc/historic.c 22 misc/misc.c 23 misc/wingl.c 24 objects/arc.c 25 objects/bitmap.c 26 objects/brush.c 27 objects/clientobj.c 28 objects/colorspace.c 29 objects/coord.c 30 objects/dc.c 31 objects/eng.c 32 objects/enhmfile.c 33 objects/font.c 34 objects/gdiobj.c 35 objects/icm.c 36 objects/linedda.c 37 objects/metafile.c 38 objects/painting.c 39 objects/printdrv.c 40 objects/palette.c 41 objects/pen.c 42 objects/region.c 43 objects/text.c 44 objects/utils.c 45 objects/path.c 46 include/precomp.h) 47 48add_library(gdi32 SHARED 49 ${SOURCE} 50 gdi32.rc 51 ${CMAKE_CURRENT_BINARY_DIR}/gdi32.def) 52 53set_module_type(gdi32 54 win32dll 55 ENTRYPOINT DllMain 12 56 UNICODE) 57 58target_link_libraries(gdi32 59 winegdi 60 wine 61 win32ksys 62 dxguid 63 msvcrtex 64 atan2 65 ${PSEH_LIB}) 66 67add_importlibs(gdi32 user32 advapi32 kernel32 ntdll) 68add_pch(gdi32 include/precomp.h SOURCE) 69add_cd_file(TARGET gdi32 DESTINATION reactos/system32 FOR all) 70