1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:05:09 +00:00
serenity/Userland/Applications/FileManager/CMakeLists.txt
Tim Ledbetter baaf97787b FileManager: Show directory size and file count in PropertiesWindow
When displaying properties for a directory, the PropertiesWindow now
shows: the total number of files, the total number of subdirectories,
and the total size of all files, in bytes.

These numbers are calculated on a background thread, and current
progress is displayed to the user every 100ms.
2023-02-11 19:32:07 +00:00

28 lines
814 B
CMake

serenity_component(
FileManager
REQUIRED
TARGETS FileManager
DEPENDS FileOperation
)
compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
compile_gml(PropertiesWindowGeneralTab.gml PropertiesWindowGeneralTabGML.h properties_window_general_tab_gml)
set(SOURCES
DesktopWidget.cpp
DirectoryView.cpp
FileOperationProgressWidget.cpp
FileUtils.cpp
main.cpp
PropertiesWindow.cpp
)
set(GENERATED_SOURCES
FileManagerWindowGML.h
FileOperationProgressGML.h
PropertiesWindowGeneralTabGML.h
)
serenity_app(FileManager ICON app-file-manager)
target_link_libraries(FileManager PRIVATE LibCore LibGfx LibGUI LibDesktop LibConfig LibMain LibThreading)