mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
returns parameter and answer
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@396 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
d859736838
commit
e66ab33ebd
@ -1,7 +1,6 @@
|
|||||||
CFLAGS= -DC_ONLY
|
CFLAGS= -DC_ONLY
|
||||||
#FLAGS=-DVERBOSE
|
#FLAGS=-DVERBOSE
|
||||||
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector
|
INCLUDES= -I../slsDetectorSoftware/commonFiles -I../slsDetectorSoftware/slsDetector -I ../slsDetectorSoftware/MySocketTCP -I../slsDetectorSoftware/usersFunctions -I../slsDetectorSoftware/multiSlsDetector
|
||||||
#LIBS=-L../TMythenDetector/bin/ -L$(QTDIR)/lib
|
|
||||||
LIBS= -L../slsDetectorSoftware/
|
LIBS= -L../slsDetectorSoftware/
|
||||||
LDFLAG= -lSlsDetector -lpthread
|
LDFLAG= -lSlsDetector -lpthread
|
||||||
|
|
||||||
|
@ -34,7 +34,10 @@ int main(int argc, char *argv[])
|
|||||||
#elif HELP
|
#elif HELP
|
||||||
action=HELP_ACTION;
|
action=HELP_ACTION;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef VERBOSE
|
||||||
|
for (int ia=0; ia<argc; ia++)
|
||||||
|
cout << argv[ia] << endl;
|
||||||
|
#endif
|
||||||
if (argc>1){
|
if (argc>1){
|
||||||
|
|
||||||
|
|
||||||
@ -109,6 +112,7 @@ int main(int argc, char *argv[])
|
|||||||
answer=myCmd->executeLine(argc-1, argv, action);
|
answer=myCmd->executeLine(argc-1, argv, action);
|
||||||
} else {
|
} else {
|
||||||
answer=myCmd->executeLine(argc-1, argv+1, action);
|
answer=myCmd->executeLine(argc-1, argv+1, action);
|
||||||
|
cout << argv[1] << " " ;
|
||||||
}
|
}
|
||||||
cout << answer<< endl;
|
cout << answer<< endl;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user