reactos/drivers/directx/dxgthk/CMakeLists.txt
Amine Khaldi 9d4f5c4c27 [CMAKE]
- Add ws2help, wshirda, wshtcpip, wsock32, wtsapi32, wuapi, xinput*, xmllite, cmbatt, compbatt, dxapi, dxg, dxgthk, fs_rec, msfs and mup to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48953
2010-10-01 16:30:49 +00:00

10 lines
438 B
CMake

spec2def(dxgthk ${CMAKE_CURRENT_SOURCE_DIR}/dxgthk.spec ${CMAKE_CURRENT_BINARY_DIR}/dxgthk.def)
add_library(dxgthk SHARED main.c dxgthk.rc)
set_target_properties(dxgthk PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys")
target_link_libraries(dxgthk ${CMAKE_CURRENT_BINARY_DIR}/dxgthk.def)
add_importlibs(dxgthk win32k)
add_dependencies(dxgthk dxgthk_def psdk bugcodes)