# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

############################################################################
# CMakeLists.txt file for building ROOT hist/hist package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(Hist
  HEADERS
    Foption.h
    HFitInterface.h
    TAxis.h
    TAxisModLab.h
    TBackCompFitter.h
    TBinomialEfficiencyFitter.h
    TConfidenceLevel.h
    TEfficiency.h
    TF12.h
    TF1AbsComposition.h
    TF1Convolution.h
    TF1.h
    TF1NormSum.h
    TF2.h
    TF3.h
    TFitResult.h
    TFitResultPtr.h
    TFormula.h
    TFractionFitter.h
    THistRange.h
    TGraph2DErrors.h
    TGraph2DAsymmErrors.h
    TGraph2D.h
    TGraphAsymmErrors.h
    TGraphMultiErrors.h
    TGraphBentErrors.h
    TGraphDelaunay2D.h
    TGraphDelaunay.h
    TGraphErrors.h
    TGraph.h
    TGraphSmooth.h
    TGraphTime.h
    TScatter.h
    TH1C.h
    TH1D.h
    TH1F.h
    TH1.h
    TH1I.h
    TH1K.h
    TH1L.h
    TH1S.h
    TH2C.h
    TH2D.h
    TH2F.h
    TH2.h
    TH2I.h
    TH2L.h
    TH2Poly.h
    TH2S.h
    TH3C.h
    TH3D.h
    TH3F.h
    TH3.h
    TH3I.h
    TH3L.h
    TH3S.h
    THLimitsFinder.h
    THnBase.h
    THnChain.h
    THn.h
    THnSparse.h
    THnSparse_Internal.h
    THStack.h
    TKDE.h
    TLimitDataSource.h
    TLimit.h
    TMultiDimFit.h
    TMultiGraph.h
    TNDArray.h
    TPolyMarker.h
    TPrincipal.h
    TProfile2D.h
    TProfile2Poly.h
    TProfile3D.h
    TProfile.h
    TSpline.h
    TSVDUnfold.h
    TVirtualFitter.h
    TVirtualGraphPainter.h
    TVirtualHistPainter.h
    TVirtualPaveStats.h
    Math/WrappedMultiTF1.h
    Math/WrappedTF1.h
    v5/TF1Data.h
    v5/TFormula.h
    v5/TFormulaPrimitive.h
  SOURCES
    AnalyticalIntegrals.cxx
    Haxis.cxx
    HFitImpl.cxx
    HFitInterface.cxx
    TAxis.cxx
    TAxisModLab.cxx
    TBackCompFitter.cxx
    TBinomialEfficiencyFitter.cxx
    TConfidenceLevel.cxx
    TEfficiency.cxx
    TF12.cxx
    TF1Convolution.cxx
    TF1.cxx
    TF1Data_v5.cxx
    TF1Helper.cxx
    TF1NormSum.cxx
    TF2.cxx
    TF3.cxx
    TFitResult.cxx
    TFitResultPtr.cxx
    TFormula.cxx
    TFormulaMathInterface.cxx
    TFormulaPrimitive_v5.cxx
    TFormula_v5.cxx
    TFractionFitter.cxx
    THistRange.cxx
    TGraph2D.cxx
    TGraph2DErrors.cxx
    TGraphAsymmErrors.cxx
    TGraphMultiErrors.cxx
    TGraphBentErrors.cxx
    TGraph.cxx
    TGraphDelaunay2D.cxx
    TGraphDelaunay.cxx
    TGraphErrors.cxx
    TGraph2DAsymmErrors.cxx
    TGraphSmooth.cxx
    TGraphTime.cxx
    TScatter.cxx
    TH1.cxx
    TH1K.cxx
    TH1Merger.cxx
    TH2.cxx
    TH2Poly.cxx
    TH3.cxx
    THLimitsFinder.cxx
    THnBase.cxx
    THnChain.cxx
    THn.cxx
    THnSparse.cxx
    THStack.cxx
    TKDE.cxx
    TLimit.cxx
    TLimitDataSource.cxx
    TMultiDimFit.cxx
    TMultiGraph.cxx
    TPolyMarker.cxx
    TPrincipal.cxx
    TProfile2D.cxx
    TProfile2Poly.cxx
    TProfile3D.cxx
    TProfile.cxx
    TSpline.cxx
    TSVDUnfold.cxx
    TVirtualFitter.cxx
    TVirtualGraphPainter.cxx
    TVirtualHistPainter.cxx
    WrappedTF1.cxx
  DICTIONARY_OPTIONS
    -writeEmptyRootPCM
  DEPENDENCIES
    MathCore
    Matrix
    RIO
)

ROOT_ADD_TEST_SUBDIRECTORY(test)
