1 2remove_definitions(-D_WIN32_WINNT=0x502) 3add_definitions(-D_WIN32_WINNT=0x600) 4 5add_definitions(-D__WINESRC__) 6add_executable(reg export.c import.c reg.c reg.rc) 7set_module_type(reg win32cui UNICODE) 8target_link_libraries(reg wine) 9add_importlibs(reg advapi32 advapi32_vista user32 msvcrt kernel32 ntdll) 10add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all) 11