1 2set_cpp(WITH_RUNTIME WITH_STL WITH_EXCEPTIONS) 3 4list(APPEND SOURCE 5 Fraginator.cpp 6 MainDialog.cpp 7 ReportDialog.cpp) 8 9list(APPEND UNFRAG_SOURCE 10 Unfrag.cpp 11 Defragment.cpp 12 DriveVolume.cpp) 13 14add_executable(frag ${SOURCE} ${UNFRAG_SOURCE} Fraginator.rc) 15set_module_type(frag win32gui UNICODE) 16add_importlibs(frag user32 advapi32 shell32 comctl32 msvcrt kernel32 ntdll) 17add_cd_file(TARGET frag DESTINATION reactos/system32 FOR all) 18 19add_executable(unfrag ${UNFRAG_SOURCE}) 20target_compile_definitions(unfrag PRIVATE "_CUI_") 21set_module_type(unfrag win32cui UNICODE) 22add_importlibs(unfrag advapi32 msvcrt kernel32 ntdll) 23add_cd_file(TARGET unfrag DESTINATION reactos/system32 FOR all)