[CMAKE]
[reactos.git] / drivers / directx / dxapi / CMakeLists.txt
1
2 add_definitions(-D_DXAPI_)
3
4 spec2def(dxapi.sys dxapi.spec)
5
6 add_library(dxapi SHARED main.c dxapi.rc
7 ${CMAKE_CURRENT_BINARY_DIR}/dxapi.def)
8
9 set_target_properties(dxapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
10
11 add_importlibs(dxapi ntoskrnl hal videoprt)
12 add_dependencies(dxapi psdk bugcodes)