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