Skip to content
Snippets Groups Projects
Commit fb69b7a1 authored by Martin Gels's avatar Martin Gels
Browse files

bug 1005: Added version numbers.

parent 68bbd516
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <CS1_BGLProc/TH_ZoidClient.h> #include <CS1_BGLProc/TH_ZoidClient.h>
#endif #endif
#include <CS1_BGLProc/BGL_Processing.h> #include <CS1_BGLProc/BGL_Processing.h>
#include <Package__Version.h>
#include <Transport/TH_MPI.h> #include <Transport/TH_MPI.h>
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
...@@ -46,6 +47,11 @@ int main(int argc, char **argv) ...@@ -46,6 +47,11 @@ int main(int argc, char **argv)
TH_MPI::initMPI(argc, argv); TH_MPI::initMPI(argc, argv);
#endif #endif
if (TH_MPI::getCurrentRank() == 0) {
std::string type = "brief";
Version::show<CS1_BGLProcVersion> (std::cout, "CS1_BGLProc", type);
}
#if defined HAVE_ZOID && defined HAVE_BGL #if defined HAVE_ZOID && defined HAVE_BGL
TH_ZoidClient th; TH_ZoidClient th;
#else #else
......
INSTHDRS =\ INSTHDRS =\
Package__Version.h \
Allocator.h \ Allocator.h \
CorrelatorAsm.h \ CorrelatorAsm.h \
FFT_Asm.h \ FFT_Asm.h \
...@@ -32,6 +33,7 @@ CCAS = $(CC) ...@@ -32,6 +33,7 @@ CCAS = $(CC)
CCASFLAGS = $(patsubst -q%,,$(CPPFLAGS)) $(EXTRA_CPPFLAGS) CCASFLAGS = $(patsubst -q%,,$(CPPFLAGS)) $(EXTRA_CPPFLAGS)
CS1_BGL_Processing_SOURCES = $(DOCHDRS) \ CS1_BGL_Processing_SOURCES = $(DOCHDRS) \
Package__Version.cc \
Allocator.cc \ Allocator.cc \
CorrelatorAsm.S \ CorrelatorAsm.S \
FIR_Asm.S \ FIR_Asm.S \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment