ladybird/Userland/Utilities/pkg/CMakeLists.txt
Gurkirat Singh fc8f6c07b4 Utilities/pkg: Integrate LibSemVer for update information
Along with this, Port.h is include which helps generalising common
information for the port package, like it's name and version. With
SemVer complaint versions, it is possible to show positive change
(upgrade) or negative change (downgrade) in the installed ports.

However, for some non-complaint versions (eg. using git commit hash),
non-equality (`!=`) is used to notify upgrade. Since there is no
algorithm (without git history) to check the order of commits, it is
not possible to inform whether it is an upgrade or downgrade.
2024-02-15 18:23:05 +01:00

16 lines
367 B
CMake

serenity_component(
PackageManager
RECOMMENDED
TARGETS PackageManager
DEPENDS FileSystemAccessServer
)
set(SOURCES
AvailablePort.cpp
InstalledPort.cpp
main.cpp
)
serenity_app(PackageManager ICON app-assistant)
target_link_libraries(PackageManager PRIVATE LibCore LibSemVer LibMain LibFileSystem LibProtocol LibHTTP LibMarkdown LibShell)