diff --git a/.gitignore b/.gitignore index 2b9752749abde940f8acd5b7061f8cfc8ecf46b0..bde2fe708b8a37221417860efdcf591fbb1b072d 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 a18a25dc509564d503fdfe06c858e330e4d0d245..4b9a65eb34383984ec71cae1c322cd2fd3316486 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 0000000000000000000000000000000000000000..df7f4091b148b0540d081004a4ae00c7442b3cd0 --- /dev/null +++ b/Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h.in @@ -0,0 +1,19 @@ +#ifndef LIBHELPER_H_ +#define LIBHELPER_H_ + +#include <string> + +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_