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 11list(APPEND PCH_SKIP_SOURCE 12 mszip.c) 13 14add_library(d3dxof MODULE 15 ${SOURCE} 16 ${PCH_SKIP_SOURCE} 17 version.rc 18 ${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def) 19 20set_module_type(d3dxof win32dll) 21target_link_libraries(d3dxof dxguid uuid wine) 22add_importlibs(d3dxof msvcrt kernel32 ntdll) 23add_pch(d3dxof precomp.h "${PCH_SKIP_SOURCE}") 24add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all) 25