From: Leonardo Flórez-Valencia Date: Wed, 11 Oct 2017 19:03:56 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=af827a205c62e26cc24f342b15e6aad833dcd5a9;p=cpPlugins.git ... --- 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$