1 2list(APPEND SOURCE 3 Fraginator.cpp 4 MainDialog.cpp 5 ReportDialog.cpp) 6 7list(APPEND UNFRAG_SOURCE 8 Unfrag.cpp 9 Defragment.cpp 10 DriveVolume.cpp) 11 12add_executable(frag ${SOURCE} ${UNFRAG_SOURCE} Fraginator.rc) 13target_link_libraries(frag cppstl) 14set_target_cpp_properties(frag WITH_EXCEPTIONS) 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_link_libraries(unfrag cppstl) 21set_target_cpp_properties(unfrag WITH_EXCEPTIONS) 22target_compile_definitions(unfrag PRIVATE "_CUI_") 23set_module_type(unfrag win32cui UNICODE) 24add_importlibs(unfrag advapi32 msvcrt kernel32 ntdll) 25add_cd_file(TARGET unfrag DESTINATION reactos/system32 FOR all) 26