1 2include_directories( 3 include 4 ${REACTOS_SOURCE_DIR}/win32ss/include) 5 6spec2def(gdi32_vista.dll gdi32_vista.spec ADD_IMPORTLIB) 7 8list(APPEND SOURCE 9 dc.c) 10 11add_library(gdi32_vista MODULE 12 ${SOURCE} 13 gdi32_vista.rc 14 ${CMAKE_CURRENT_BINARY_DIR}/gdi32_vista.def) 15 16set_module_type(gdi32_vista win32dll UNICODE ENTRYPOINT 0) 17 18target_link_libraries(gdi32_vista win32ksys) 19 20#add_importlibs(gdi32_vista user32 advapi32 kernel32 ntdll) 21#add_pch(gdi32_vista include/precomp.h SOURCE) 22add_dependencies(gdi32_vista psdk) 23add_cd_file(TARGET gdi32_vista DESTINATION reactos/system32 FOR all) 24