From 8c90c72c7757b5885d405d2d93d8807cfe66b8a4 Mon Sep 17 00:00:00 2001 From: Michael Reuter Date: Wed, 13 Mar 2013 10:31:14 -0400 Subject: [PATCH] Refs #6700. Creating generation header. --- .gitignore | 2 ++ .../VatesSimpleGui/ViewWidgets/CMakeLists.txt | 4 ++++ .../LibHelper.h.in | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in diff --git a/.gitignore b/.gitignore index 2b9752749abd..bde2fe708b8a 100644 --- a/.gitignore +++ b/.gitignore @@ -161,3 +161,5 @@ Desktop.ini # Mac OS X Finder .DS_Store + +Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h diff --git a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt index a18a25dc5095..4b9a65eb3438 100644 --- a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt +++ b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt @@ -4,6 +4,7 @@ project( MantidVatesSimpleGuiViewWidgets ) set( INCLUDE_FILES inc/MantidVatesSimpleGuiViewWidgets/ColorSelectionWidget.h inc/MantidVatesSimpleGuiViewWidgets/ColorUpdater.h + inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h inc/MantidVatesSimpleGuiViewWidgets/MdViewerWidget.h inc/MantidVatesSimpleGuiViewWidgets/MultisliceView.h inc/MantidVatesSimpleGuiViewWidgets/StandardView.h @@ -101,6 +102,9 @@ MantidQtSliceViewer MantidQtFactory ) +configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in + ${CMAKE_CURRENT_SOURCE_DIR}/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h ) + if( SQUISH_FOUND ) # Need to set the AUT first set( SQUISH_AUT MantidPlot ) diff --git a/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in new file mode 100644 index 000000000000..df7f4091b148 --- /dev/null +++ b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in @@ -0,0 +1,19 @@ +#ifndef LIBHELPER_H_ +#define LIBHELPER_H_ + +#include + +namespace Mantid +{ +namespace Vates +{ +namespace SimpleGui +{ + +const std::string QUADVIEW_LIBRARY = "@CMAKE_SHARED_LIBRARY_PREFIX@QuadView@CMAKE_SHARED_LIBRARY_SUFFIX@"; + +} // namespace SimpleGui +} // namespace Vates +} // namespace Mantid + +#endif // LIBHELPER_H_