2015-04-19 20:30:44 +00:00
|
|
|
|
2016-10-22 12:13:34 +00:00
|
|
|
set_cpp(WITH_RUNTIME WITH_STL WITH_EXCEPTIONS)
|
2015-04-19 20:30:44 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
Fraginator.cpp
|
|
|
|
MainDialog.cpp
|
|
|
|
ReportDialog.cpp)
|
|
|
|
|
|
|
|
list(APPEND UNFRAG_SOURCE
|
|
|
|
Unfrag.cpp
|
|
|
|
Defragment.cpp
|
|
|
|
DriveVolume.cpp)
|
2016-10-22 12:13:34 +00:00
|
|
|
|
2015-04-19 20:30:44 +00:00
|
|
|
add_executable(frag ${SOURCE} ${UNFRAG_SOURCE} Fraginator.rc)
|
|
|
|
set_module_type(frag win32gui UNICODE)
|
|
|
|
add_importlibs(frag user32 advapi32 shell32 comctl32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET frag DESTINATION reactos/system32 FOR all)
|
|
|
|
|
|
|
|
add_executable(unfrag ${UNFRAG_SOURCE})
|
2015-04-20 00:08:02 +00:00
|
|
|
add_target_compile_definitions(unfrag "_CUI_")
|
2015-04-19 20:30:44 +00:00
|
|
|
set_module_type(unfrag win32cui UNICODE)
|
|
|
|
add_importlibs(unfrag advapi32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET unfrag DESTINATION reactos/system32 FOR all)
|