1 2add_definitions(-D__WINESRC__) 3include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(version.dll version.spec ADD_IMPORTLIB) 5 6list(APPEND SOURCE 7 version.c 8 ${CMAKE_CURRENT_BINARY_DIR}/version.def) 9 10add_library(version MODULE ${SOURCE} version.rc) 11set_module_type(version win32dll) 12target_link_libraries(version wine) 13add_importlibs(version msvcrt kernel32 ntdll) 14add_cd_file(TARGET version DESTINATION reactos/system32 FOR all) 15