1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(d3dxof.dll d3dxof.spec ADD_IMPORTLIB) 5 6list(APPEND SOURCE 7 d3dxof.c 8 main.c 9 parsing.c 10 precomp.h) 11 12add_library(d3dxof MODULE 13 ${SOURCE} 14 mszip.c 15 version.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def) 17 18set_module_type(d3dxof win32dll) 19target_link_libraries(d3dxof dxguid uuid wine) 20add_importlibs(d3dxof msvcrt kernel32 ntdll) 21add_pch(d3dxof precomp.h SOURCE) 22add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all) 23