1c2c66affSColin Finck 2c2c66affSColin Finckadd_definitions( 3c2c66affSColin Finck -D__WINESRC__ 45ed18676SHervé Poussineau -D__ROS_LONG64__ 5c2c66affSColin Finck -DUSE_WIN32_OPENGL) 6c2c66affSColin Finck 7c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 8c2c66affSColin Finckspec2def(d3d8.dll d3d8.spec) 9c2c66affSColin Finck 10c2c66affSColin Fincklist(APPEND SOURCE 11c2c66affSColin Finck buffer.c 12c2c66affSColin Finck d3d8_main.c 13c2c66affSColin Finck device.c 14c2c66affSColin Finck directx.c 15c2c66affSColin Finck shader.c 16c2c66affSColin Finck surface.c 17c2c66affSColin Finck swapchain.c 18c2c66affSColin Finck texture.c 19c2c66affSColin Finck vertexdeclaration.c 20*139a3d66SAmine Khaldi volume.c) 21*139a3d66SAmine Khaldi 22*139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE 23*139a3d66SAmine Khaldi guid.c) 24c2c66affSColin Finck 25cef6a5b6SSerge Gautherieadd_library(d3d8 MODULE 26c2c66affSColin Finck ${SOURCE} 27*139a3d66SAmine Khaldi ${PCH_SKIP_SOURCE} 28c2c66affSColin Finck version.rc 29c2c66affSColin Finck ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def) 30c2c66affSColin Finck 31c2c66affSColin Finckset_module_type(d3d8 win32dll UNICODE) 32c2c66affSColin Fincktarget_link_libraries(d3d8 uuid wine) 33c2c66affSColin Finckadd_importlibs(d3d8 d3dwine msvcrt kernel32 ntdll) 34*139a3d66SAmine Khaldiadd_pch(d3d8 precomp.h "${PCH_SKIP_SOURCE}") 35c2c66affSColin Finckadd_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all) 36