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-05-16 13:12:07 +00:00
|
|
|
spec2def(d3dx9_40.dll d3dx9_40.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
d3dx9_40_main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_40.def)
|
|
|
|
|
2013-09-14 13:44:28 +00:00
|
|
|
add_library(d3dx9_40 SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(d3dx9_40 win32dll)
|
2012-12-22 10:47:06 +00:00
|
|
|
target_link_libraries(d3dx9_40 wine)
|
2013-09-14 13:44:28 +00:00
|
|
|
add_importlibs(d3dx9_40 d3dx9_36 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET d3dx9_40 DESTINATION reactos/system32 FOR all)
|