diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-09 07:31:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-09 07:31:16 +0200 |
commit | 1ccbba753685b8a011bc0831fc4ffe20d2a8044a (patch) | |
tree | 8c94e11aa9f87eb957f3dcfdf2bb3412b3cc3b27 | |
parent | ee0bc1eef7b78f0ae55434199a4d37838f572f2b (diff) |
Add name to metadata for cli executable
-rw-r--r-- | cli/cli/buildfile | 1 | ||||
-rw-r--r-- | cli/cli/cli.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cli/cli/buildfile b/cli/cli/buildfile index 6a5b81b..2385a7d 100644 --- a/cli/cli/buildfile +++ b/cli/cli/buildfile @@ -10,6 +10,7 @@ import libs = libcutl%lib{cutl} exe{cli}: { export.metadata = 1 cli + cli.name = [string] cli cli.version = $version cli.checksum = $version } diff --git a/cli/cli/cli.cxx b/cli/cli/cli.cxx index 5d7b3e2..754c5ff 100644 --- a/cli/cli/cli.cxx +++ b/cli/cli/cli.cxx @@ -43,6 +43,7 @@ main (int argc, char* argv[]) // o << "# build2 buildfile cli" << endl << "export.metadata = 1 cli" << endl + << "cli.name = [string] cli" << endl << "cli.version = [string] '" << CLI_VERSION_FULL << '\'' << endl << "cli.checksum = [string] '" << CLI_VERSION_FULL << '\'' << endl; |