2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-14 13:44:28 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(d3dx9_25.dll d3dx9_25.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
d3dx9_25_main.c
|
2015-07-22 00:34:54 +00:00
|
|
|
effect.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
|
|
|
|
|
2013-09-14 13:44:28 +00:00
|
|
|
add_library(d3dx9_25 SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(d3dx9_25 win32dll)
|
2012-12-22 10:47:06 +00:00
|
|
|
target_link_libraries(d3dx9_25 wine)
|
2013-09-14 13:44:28 +00:00
|
|
|
add_importlibs(d3dx9_25 d3dx9_30 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32 FOR all)
|