Skip to content

Commit

Permalink
Refs #6700. Creating generation header.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Mar 13, 2013
1 parent 4dded9f commit 8c90c72
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,5 @@ Desktop.ini

# Mac OS X Finder
.DS_Store

Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/inc/MantidVatesSimpleGuiViewWidgets/LibHelper.h
4 changes: 4 additions & 0 deletions Code/Mantid/Vates/VatesSimpleGui/ViewWidgets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 )
Expand Down
Original file line number Diff line number Diff line change
@@ -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_

0 comments on commit 8c90c72

Please sign in to comment.