feat(install,ide): self-extracting installers and install tasks
This commit is contained in:
1 parent
83ec08390f
commit
d23a878eec
9 files changed
+232
-5
No files matched your search
@@ -19,6 +19,13 @@ struct InstallOptions {
|
||||
std::optional<std::string> component; // Empty = install all components
|
||||
bool export_cmake_config{true};
|
||||
bool export_native_metadata{true};
|
||||
// Copies runtime shared libraries of installed targets into <prefix>/lib.
|
||||
bool bundle_runtime_dependencies{false};
|
||||
// Optional deterministic tar archive of the installed prefix (self-contained installer).
|
||||
std::optional<std::filesystem::path> archive_path;
|
||||
// When true, archive_path receives an executable POSIX self-extracting installer script
|
||||
// (tar payload appended) instead of a bare tar. Accepts [--prefix DIR] or $PREFIX.
|
||||
bool archive_as_script{false};
|
||||
};
|
||||
|
||||
struct InstallReport {
|
||||
@@ -27,6 +34,8 @@ struct InstallReport {
|
||||
std::vector<std::filesystem::path> installed_files;
|
||||
std::optional<std::filesystem::path> cmake_config_file;
|
||||
std::optional<std::filesystem::path> native_package_file;
|
||||
std::optional<std::filesystem::path> archive_path;
|
||||
std::vector<std::filesystem::path> bundled_libraries;
|
||||
};
|
||||
|
||||
// Installs declared targets, files, headers, and relocatable native + CMake export
|
||||
|
||||
Reference in new issue
Block a user