mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00

* [vcpkg] Consolidate several internal parsers together (packagespecs + logicexpression + control) and enhance error messages * [vcpkg] Migrate Build-Depends parsing to new framework * [vcpkg] Fix tests. Re-enable underscores in feature names due to libwebp[vwebp_sdl] -- todo: rename this feature and remove underscores.
27 lines
824 B
C++
27 lines
824 B
C++
#pragma once
|
|
|
|
#include <vcpkg/dependencies.h>
|
|
#include <vcpkg/vcpkgcmdarguments.h>
|
|
#include <vcpkg/vcpkgpaths.h>
|
|
|
|
namespace vcpkg::Remove
|
|
{
|
|
enum class Purge
|
|
{
|
|
NO = 0,
|
|
YES
|
|
};
|
|
|
|
inline Purge to_purge(const bool value) { return value ? Purge::YES : Purge::NO; }
|
|
|
|
void perform_remove_plan_action(const VcpkgPaths& paths,
|
|
const Dependencies::RemovePlanAction& action,
|
|
const Purge purge,
|
|
StatusParagraphs* status_db);
|
|
|
|
extern const CommandStructure COMMAND_STRUCTURE;
|
|
|
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, Triplet default_triplet);
|
|
void remove_package(const VcpkgPaths& paths, const PackageSpec& spec, StatusParagraphs* status_db);
|
|
}
|