diff --git a/graphics/Qat/QatSystemInterfaces/CMakeLists.txt b/graphics/Qat/QatSystemInterfaces/CMakeLists.txt index e26995408124830a787848b835eec7bda24ee13e..d23161a6d8aec3d0b2f401821a96f1ecc63aa654 100644 --- a/graphics/Qat/QatSystemInterfaces/CMakeLists.txt +++ b/graphics/Qat/QatSystemInterfaces/CMakeLists.txt @@ -13,14 +13,22 @@ atlas_depends_on_subdirs( PRIVATE # External dependencies: find_package( Qt4 COMPONENTS QtCore QtOpenGL QtGui ) +# Generate UI files automatically: +set( CMAKE_AUTOUIC TRUE ) +# Generate MOC files automatically: +set( CMAKE_AUTOMOC TRUE ) +# Generate resource files automatically: +set( CMAKE_AUTORCC TRUE ) +# to let CMake find .h files automatically-generated from .ui files +set(CMAKE_INCLUDE_CURRENT_DIR ON) + include_directories( /usr/X11R6/include ) # Remove the --as-needed linker flags: atlas_disable_as_needed() # Component(s) in the package: -atlas_add_library( QatSystemInterfaces - src/*.c* +atlas_add_library( QatSystemInterfaces QatSystemInterfaces/*.h src/*.h src/*.c* src/*.qrc PUBLIC_HEADERS QatSystemInterfaces INCLUDE_DIRS ${QT4_INCLUDE_DIRS} LINK_LIBRARIES ${QT4_LIBRARIES} GL diff --git a/graphics/Qat/QatSystemInterfaces/cmt/requirements b/graphics/Qat/QatSystemInterfaces/cmt/requirements index 41bd3a172ab93a7a92722cbbe123f5c463f2053e..624bbb3c7f57f1bcd0f7ffa30d90740769e36b88 100644 --- a/graphics/Qat/QatSystemInterfaces/cmt/requirements +++ b/graphics/Qat/QatSystemInterfaces/cmt/requirements @@ -2,6 +2,7 @@ package QatSystemInterfaces author Joe Boudreau <boudreau@pitt.edu> author Vakho Tsulaia <Vakhtang.Tsulaia@cern.ch> +manager Riccardo Maria Bianchi <rbianchi@cern.ch> use AtlasPolicy AtlasPolicy-* use VP1Qt VP1Qt-* graphics/VP1 diff --git a/graphics/Qat/QatSystemInterfaces/src/QatSystemInterfaces.pro b/graphics/Qat/QatSystemInterfaces/src/QatSystemInterfaces.pro index eb66547acd6c419fe0169f84c6eeeec7ee0a88b0..df206bef59e6f37b2ee7189c6dc649cc86ce1b31 100644 --- a/graphics/Qat/QatSystemInterfaces/src/QatSystemInterfaces.pro +++ b/graphics/Qat/QatSystemInterfaces/src/QatSystemInterfaces.pro @@ -16,7 +16,7 @@ HEADERS += ../QatSystemInterfaces/HistoLocator.h \ SOURCES += Serializer.cpp \ SystemInterface.cpp - +LIBS=-L/usr/local/lib -lQatPlotWidgets -lQatPlotting -lQatDataModeling -lQatDataAnalysis -lCLHEP target.path=/usr/local/lib headers.path=/usr/local/include/QatSystemInterfaces headers.files= ../QatSystemInterfaces/*.h ../QatSystemInterfaces/*.icc