Skip to content

Commit

Permalink
Re #11756. Done MantidQt
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed May 19, 2015
1 parent 53679b9 commit 5a18e4c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 6 deletions.
9 changes: 8 additions & 1 deletion Code/Mantid/MantidQt/Factory/CMakeLists.txt
Expand Up @@ -44,7 +44,14 @@ if (OSX_VERSION VERSION_GREATER 10.8)
endif ()

# ... and links to other required libs
target_link_libraries ( MantidQtFactory LINK_PRIVATE MantidQtAPI MantidQtSliceViewer ${QT_LIBRARIES} ${QWT_LIBRARIES} )
target_link_libraries ( MantidQtFactory LINK_PRIVATE
MantidQtAPI
MantidQtSliceViewer
${CORE_MANTIDLIBS}
${POCO_LIBRARIES}
${Boost_LIBRARIES}
${QT_LIBRARIES}
${QWT_LIBRARIES} )

###########################################################################
# Installation settings
Expand Down
12 changes: 10 additions & 2 deletions Code/Mantid/MantidQt/Python/CMakeLists.txt
Expand Up @@ -88,8 +88,16 @@ endif ()

# ... and links to other required libs ...
target_link_libraries ( mantidqtpython LINK_PRIVATE
MantidQtAPI MantidQtSliceViewer MantidQtFactory MantidQtRefDetectorViewer
${QT_LIBRARIES} ${QWT_LIBRARIES}
MantidQtAPI
MantidQtSliceViewer
MantidQtFactory
MantidQtRefDetectorViewer
MantidWidgets
${CORE_MANTIDLIBS}
${POCO_LIBRARIES}
${Boost_LIBRARIES}
${QT_LIBRARIES}
${QWT_LIBRARIES}
${PYTHON_LIBRARIES}
)

Expand Down
16 changes: 14 additions & 2 deletions Code/Mantid/MantidQt/SliceViewer/CMakeLists.txt
Expand Up @@ -149,7 +149,14 @@ if (OSX_VERSION VERSION_GREATER 10.8)
endif ()

# ... and links to other required libs
target_link_libraries ( MantidQtSliceViewer LINK_PRIVATE MantidQtAPI MantidWidgets ${QT_LIBRARIES} ${QWT_LIBRARIES} )
target_link_libraries ( MantidQtSliceViewer LINK_PRIVATE
MantidQtAPI
MantidWidgets
${CORE_MANTIDLIBS}
${POCO_LIBRARIES}
${Boost_LIBRARIES}
${QT_LIBRARIES}
${QWT_LIBRARIES} )

###########################################################################
# Unit tests setup
Expand All @@ -170,7 +177,12 @@ if ( CXXTEST_FOUND )
)

cxxtest_add_test ( SliceViewerTest ${TEST_FILES} ${GMOCK_TEST_FILES} )
target_link_libraries( SliceViewerTest LINK_PRIVATE MantidQtSliceViewer DataObjects Crystal ${GMOCK_LIBRARIES} ${GTEST_LIBRARIES} )
target_link_libraries( SliceViewerTest LINK_PRIVATE
MantidQtSliceViewer
DataObjects
Crystal
${GMOCK_LIBRARIES}
${GTEST_LIBRARIES} )

add_dependencies( GUITests SliceViewerTest )
# Add to the 'UnitTests' group in VS
Expand Down
8 changes: 7 additions & 1 deletion Code/Mantid/MantidQt/SpectrumViewer/CMakeLists.txt
Expand Up @@ -83,7 +83,13 @@ if (OSX_VERSION VERSION_GREATER 10.8)
endif ()
# ... and links to other required libs
target_link_libraries ( MantidQtSpectrumViewer LINK_PRIVATE
MantidQtAPI MantidWidgets ${CORE_MANTIDLIBS} ${QT_LIBRARIES} ${QWT_LIBRARIES} )
MantidQtAPI
MantidWidgets
${CORE_MANTIDLIBS}
${POCO_LIBRARIES}
${Boost_LIBRARIES}
${QT_LIBRARIES}
${QWT_LIBRARIES} )


###########################################################################
Expand Down

0 comments on commit 5a18e4c

Please sign in to comment.