2013-09-14 10:13:29 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2013-09-14 10:13:29 +00:00
|
|
|
spec2def(d3dxof.dll d3dxof.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
d3dxof.c
|
|
|
|
main.c
|
2020-05-09 21:37:40 +00:00
|
|
|
parsing.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
mszip.c)
|
2014-02-09 23:29:31 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(d3dxof MODULE
|
2014-02-09 23:29:31 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-09 23:29:31 +00:00
|
|
|
version.rc
|
2013-09-14 10:13:29 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def)
|
|
|
|
|
|
|
|
set_module_type(d3dxof win32dll)
|
|
|
|
target_link_libraries(d3dxof dxguid uuid wine)
|
|
|
|
add_importlibs(d3dxof msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(d3dxof precomp.h "${PCH_SKIP_SOURCE}")
|
2013-09-14 10:13:29 +00:00
|
|
|
add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all)
|