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$
--- /dev/null
+// =========================================================================
+// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
+// =========================================================================
+
+#include <tclap_export.h>
+#include <string>
+
+// -------------------------------------------------------------------------
+std::string TCLAP_EXPORT version( )
+{
+ return( "@prj_MAJ@.@prj_MIN@.@prj_REL@" );
+}
+
+// eof - $RCSfile$