summaryrefslogtreecommitdiff
path: root/TestPrograms/dump2def.cxx
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-07 00:01:01 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-07 00:01:01 -0500
commitc5fde84d6e516d0a7d2324923a8520580b817c68 (patch)
tree8e430ab5d0a16bc6fd9417e1999fc63a4bc86fb4 /TestPrograms/dump2def.cxx
parente38bfe417dd3ead79d66dd4efdc5e5727ff16462 (diff)
downloadcryptopp-git-c5fde84d6e516d0a7d2324923a8520580b817c68.tar.gz
Make lib name configurable
Diffstat (limited to 'TestPrograms/dump2def.cxx')
-rw-r--r--TestPrograms/dump2def.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/TestPrograms/dump2def.cxx b/TestPrograms/dump2def.cxx
index 1c707e11..4fbdd5dc 100644
--- a/TestPrograms/dump2def.cxx
+++ b/TestPrograms/dump2def.cxx
@@ -40,6 +40,8 @@
#include <vector>
#include <set>
+// Friendly name
+#define LIBRARY_NAME "Crypto++ Library"
typedef std::set<std::string> SymbolMap;
void PrintHelpAndExit(int code)
@@ -146,7 +148,7 @@ int main(int argc, char* argv[])
name.erase(pos);
outfile << "LIBRARY " << name << std::endl;
- outfile << "DESCRIPTION \"Crypto++ Library\"" << std::endl;
+ outfile << "DESCRIPTION \"" << LIBRARY_NAME << "\"" << std::endl;
outfile << "EXPORTS" << std::endl;
outfile << std::endl;
@@ -166,9 +168,5 @@ int main(int argc, char* argv[])
PrintHelpAndExit(1);
}
- std::cout << std::endl;
- std::cout << symbols.size() << " library symbols";
- std::cout << std::endl;
-
return 0;
}