2011-05-16 13:12:07 +00:00
|
|
|
|
2018-05-21 15:14:08 +00:00
|
|
|
add_definitions(-D__WINESRC__ -Dcopysignf=_copysignf -D_D3DX9_VER=36)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2015-02-28 11:17:10 +00:00
|
|
|
animation.c
|
2011-05-16 13:12:07 +00:00
|
|
|
core.c
|
2018-05-21 15:14:08 +00:00
|
|
|
d3dx9_36_main.c
|
2013-09-14 13:44:28 +00:00
|
|
|
effect.c
|
2011-05-16 13:12:07 +00:00
|
|
|
font.c
|
2013-09-14 13:44:28 +00:00
|
|
|
line.c
|
2011-05-16 13:12:07 +00:00
|
|
|
math.c
|
|
|
|
mesh.c
|
2017-10-08 08:25:43 +00:00
|
|
|
preshader.c
|
2013-09-14 13:44:28 +00:00
|
|
|
render.c
|
2011-05-16 13:12:07 +00:00
|
|
|
shader.c
|
2013-09-14 13:44:28 +00:00
|
|
|
skin.c
|
2011-05-16 13:12:07 +00:00
|
|
|
sprite.c
|
|
|
|
surface.c
|
|
|
|
texture.c
|
|
|
|
util.c
|
2013-09-14 13:44:28 +00:00
|
|
|
volume.c
|
|
|
|
xfile.c
|
2018-05-21 15:14:08 +00:00
|
|
|
d3dx9_36_private.h)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
|
|
|
add_library(d3dx9_36 SHARED
|
|
|
|
${SOURCE}
|
2014-01-20 11:15:56 +00:00
|
|
|
guid.c
|
2014-02-09 23:29:31 +00:00
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
|
|
|
|
|
|
|
|
set_module_type(d3dx9_36 win32dll)
|
2013-11-18 10:46:20 +00:00
|
|
|
add_dependencies(d3dx9_36 d3d_idl_headers)
|
2013-09-14 13:44:28 +00:00
|
|
|
target_link_libraries(d3dx9_36 dxguid wine)
|
2015-02-28 11:17:10 +00:00
|
|
|
add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof d3dwine user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
2018-05-21 15:14:08 +00:00
|
|
|
add_pch(d3dx9_36 d3dx9_36_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
|