From 55e0e2b63064f2e7c92901483fea127994f5ff53 Mon Sep 17 00:00:00 2001 From: christopher dilks Date: Fri, 23 Apr 2021 11:49:29 -0400 Subject: [PATCH] remove test class --- srcC/testMultiDef/LinkDef.h | 10 --------- srcC/testMultiDef/Makefile | 45 ------------------------------------- srcC/testMultiDef/One.cxx | 11 --------- srcC/testMultiDef/One.h | 20 ----------------- srcC/testMultiDef/Two.cxx | 11 --------- srcC/testMultiDef/Two.h | 20 ----------------- 6 files changed, 117 deletions(-) delete mode 100644 srcC/testMultiDef/LinkDef.h delete mode 100644 srcC/testMultiDef/Makefile delete mode 100644 srcC/testMultiDef/One.cxx delete mode 100644 srcC/testMultiDef/One.h delete mode 100644 srcC/testMultiDef/Two.cxx delete mode 100644 srcC/testMultiDef/Two.h diff --git a/srcC/testMultiDef/LinkDef.h b/srcC/testMultiDef/LinkDef.h deleted file mode 100644 index acf4689..0000000 --- a/srcC/testMultiDef/LinkDef.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __CINT__ - -#pragma link off all globals; -#pragma link off all classes; -#pragma link off all functions; - -#pragma link C++ class One+; -#pragma link C++ class Two+; - -#endif diff --git a/srcC/testMultiDef/Makefile b/srcC/testMultiDef/Makefile deleted file mode 100644 index daa75dc..0000000 --- a/srcC/testMultiDef/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# compiler and flags -CXX = g++ -std=c++11 -FLAGS = -g -Wno-deprecated -fPIC -m64 -fno-inline -Wno-write-strings - -# extra flags for valgrind -FLAGS += -O0 - -# ROOT -DEPS = $(shell root-config --cflags) -LIBS = $(shell root-config --glibs) -LIBS += -lMinuit -lRooFitCore -lRooFit -lRooStats -lProof -lMathMore - -# QADB -DEPS += -I$(QADB)/srcC/rapidjson/include -I$(QADB)/srcC/include - -# shared object name and source directory -OBJNAME = TestMultiDef -LIBDIR = ../lib -OBJ := $(LIBDIR)/lib$(OBJNAME).so - -# rootcling dictionary -DICT := $(OBJNAME)Dict.cxx -PCM := $(OBJNAME)Dict_rdict.pcm -LINKDEF = LinkDef.h - -# source code (with $(DICT) and $(LINKDEF) moved to end of lists for rootcling) -SOURCES := $(filter-out $(DICT), $(wildcard *.cxx)) $(DICT) -HEADERS := $(filter-out $(LINKDEF), $(wildcard *.h)) $(LINKDEF) - -# make library dir -$(shell mkdir -p $(LIBDIR)) - -#----------------------------------------------- - - -$(OBJ): $(DICT) $(HEADERS) $(SOURCES) - @echo "----- build $@ -----" - $(CXX) $(SOURCES) -shared -o $@ $(FLAGS) $(DEPS) $(LIBS) - -$(DICT): $(HEADERS) - @echo "----- generate dictionary $@ -----" - @rootcling -f $@ -c $(DEPS) $^ - -clean: - $(RM) $(OBJ) $(DICT) $(PCM) diff --git a/srcC/testMultiDef/One.cxx b/srcC/testMultiDef/One.cxx deleted file mode 100644 index 9e03eab..0000000 --- a/srcC/testMultiDef/One.cxx +++ /dev/null @@ -1,11 +0,0 @@ -#include "One.h" - -ClassImp(One) - -One::One() { - printf("Instantiating One...\n"); - qa = new QADB(); - printf("done\n"); -}; - -One::~One() {}; diff --git a/srcC/testMultiDef/One.h b/srcC/testMultiDef/One.h deleted file mode 100644 index f3cc632..0000000 --- a/srcC/testMultiDef/One.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef One_ -#define One_ - -#include -#include -#include - -using namespace QA; - -class One : public TObject -{ - public: - One(); - ~One(); - private: - QADB * qa; - ClassDef(One,1); -}; - -#endif diff --git a/srcC/testMultiDef/Two.cxx b/srcC/testMultiDef/Two.cxx deleted file mode 100644 index 073af47..0000000 --- a/srcC/testMultiDef/Two.cxx +++ /dev/null @@ -1,11 +0,0 @@ -#include "Two.h" - -ClassImp(Two) - -Two::Two() { - printf("Instantiating Two...\n"); - qa = new QADB(); - printf("done\n"); -}; - -Two::~Two() {}; diff --git a/srcC/testMultiDef/Two.h b/srcC/testMultiDef/Two.h deleted file mode 100644 index c4e9a99..0000000 --- a/srcC/testMultiDef/Two.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef Two_ -#define Two_ - -#include -#include -#include - -using namespace QA; - -class Two : public TObject -{ - public: - Two(); - ~Two(); - private: - QADB * qa; - ClassDef(Two,1); -}; - -#endif