reactos/dll/directx/wine/d3d8/CMakeLists.txt
Johannes Anderwald 94ee03d85a - Try fix build
svn path=/branches/cmake-bringup/; revision=50760
2011-02-16 15:58:40 +00:00

52 lines
837 B
CMake

set_unicode()
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
if(MSVC)
add_definitions(-FImsvchelper.h)
endif()
set_rc_compiler()
spec2def(d3d8.dll d3d8.spec)
list(APPEND SOURCE
buffer.c
cubetexture.c
d3d8_main.c
device.c
directx.c
shader.c
surface.c
swapchain.c
texture.c
vertexdeclaration.c
volume.c
volumetexture.c
version.rc
#${REACTOS_BINARY_DIR}/include/reactos/wine/wined3d_i.c
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
add_library(d3d8 SHARED ${SOURCE})
set_module_type(d3d8 win32dll)
target_link_libraries(d3d8 uuid wine)
add_importlibs(d3d8
user32
gdi32
advapi32
wined3d
msvcrt
kernel32
ntdll)
add_dependencies(d3d8 wineheaders)
add_cab_target(d3d8 1)