From af827a205c62e26cc24f342b15e6aad833dcd5a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Wed, 11 Oct 2017 14:03:56 -0500 Subject: [PATCH] ... --- lib/tclap/CMakeLists.txt | 2 -- lib/tclap/Version.cxx.in | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 lib/tclap/Version.cxx.in diff --git a/lib/tclap/CMakeLists.txt b/lib/tclap/CMakeLists.txt index 08a9664..62ab7ad 100644 --- a/lib/tclap/CMakeLists.txt +++ b/lib/tclap/CMakeLists.txt @@ -4,14 +4,12 @@ option(cpPlugins_BUILD_tclap "Build TCLAP." OFF) if(cpPlugins_BUILD_tclap) - BuildLibrary( tclap SHARED INSTALL_ALL SOURCE . VERSION ${prj_MAJ} ${prj_MIN} ${prj_REL} ) - endif(cpPlugins_BUILD_tclap) ## eof - $RCSfile$ diff --git a/lib/tclap/Version.cxx.in b/lib/tclap/Version.cxx.in new file mode 100644 index 0000000..ad3e03e --- /dev/null +++ b/lib/tclap/Version.cxx.in @@ -0,0 +1,14 @@ +// ========================================================================= +// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) +// ========================================================================= + +#include +#include + +// ------------------------------------------------------------------------- +std::string TCLAP_EXPORT version( ) +{ + return( "@prj_MAJ@.@prj_MIN@.@prj_REL@" ); +} + +// eof - $RCSfile$ -- 2.47.1