Skip to content

Commit

Permalink
Refs #10840. Python imports without errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Feb 9, 2015
1 parent 4ab5272 commit a9facf7
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 13 deletions.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/Algorithms/CMakeLists.txt
Expand Up @@ -752,7 +752,8 @@ enable_precompiled_headers ( inc/MantidAlgorithms/PrecompiledHeader.h SRC_FILES
# Add the target for this directory
add_library ( Algorithms ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( Algorithms PROPERTIES OUTPUT_NAME MantidAlgorithms )
set_target_properties ( Algorithms PROPERTIES OUTPUT_NAME MantidAlgorithms
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET Algorithms PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/Crystal/CMakeLists.txt
Expand Up @@ -211,7 +211,8 @@ endif(UNITY_BUILD)
# Add the target for this directory
add_library ( Crystal ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( Crystal PROPERTIES OUTPUT_NAME MantidCrystal )
set_target_properties ( Crystal PROPERTIES OUTPUT_NAME MantidCrystal
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET Crystal PROPERTY FOLDER "MantidFramework" )

Expand Down
4 changes: 3 additions & 1 deletion Code/Mantid/Framework/CurveFitting/CMakeLists.txt
Expand Up @@ -316,7 +316,9 @@ enable_precompiled_headers( inc/MantidCurveFitting/PrecompiledHeader.h SRC_FILES
# Add the target for this directory
add_library ( CurveFitting ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( CurveFitting PROPERTIES OUTPUT_NAME MantidCurveFitting COMPILE_DEFINITIONS IN_MANTID_CURVEFITTING)
set_target_properties ( CurveFitting PROPERTIES OUTPUT_NAME MantidCurveFitting
COMPILE_DEFINITIONS IN_MANTID_CURVEFITTING
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET CurveFitting PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/DataHandling/CMakeLists.txt
Expand Up @@ -447,7 +447,8 @@ enable_precompiled_headers( inc/MantidDataHandling/PrecompiledHeader.h SRC_FILES
# Add the target for this directory
add_library ( DataHandling ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( DataHandling PROPERTIES OUTPUT_NAME MantidDataHandling )
set_target_properties ( DataHandling PROPERTIES OUTPUT_NAME MantidDataHandling
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET DataHandling PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/ICat/CMakeLists.txt
Expand Up @@ -81,7 +81,8 @@ enable_precompiled_headers( inc/MantidICat/PrecompiledHeader.h SRC_FILES )
add_library ( ICat ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( ICat PROPERTIES OUTPUT_NAME MantidICat
COMPILE_DEFINITIONS IN_MANTID_ICAT )
COMPILE_DEFINITIONS IN_MANTID_ICAT
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET ICat PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/ISISLiveData/CMakeLists.txt
Expand Up @@ -19,7 +19,8 @@ set ( TEST_FILES
add_library ( ISISLiveData ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( ISISLiveData PROPERTIES OUTPUT_NAME MantidISISLiveData
COMPILE_DEFINITIONS IN_MANTID_ISISLIVEDATA )
COMPILE_DEFINITIONS IN_MANTID_ISISLIVEDATA
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET ISISLiveData PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/LiveData/CMakeLists.txt
Expand Up @@ -61,7 +61,8 @@ enable_precompiled_headers( inc/MantidLiveData/PrecompiledHeader.h SRC_FILES )
# Add the target for this directory
add_library ( LiveData ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( LiveData PROPERTIES OUTPUT_NAME MantidLiveData )
set_target_properties ( LiveData PROPERTIES OUTPUT_NAME MantidLiveData
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET LiveData PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt
Expand Up @@ -256,7 +256,8 @@ enable_precompiled_headers( inc/MantidMDAlgorithms/PrecompiledHeader.h SRC_FILES
add_library ( MDAlgorithms ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( MDAlgorithms PROPERTIES OUTPUT_NAME MantidMDAlgorithms
COMPILE_DEFINITIONS IN_MANTID_MDALGORITHMS )
COMPILE_DEFINITIONS IN_MANTID_MDALGORITHMS
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET MDAlgorithms PROPERTY FOLDER "MantidFramework" )

Expand Down
Expand Up @@ -130,7 +130,7 @@ set_target_output_directory ( PythonAPIModule ${OUTPUT_DIR} .pyd )

# Add the required dependencies
target_link_libraries ( PythonAPIModule PythonGeometryModule PythonKernelModule API )
set_target_properties( PythonAPIModule PROPERTIES INSTALL_RPATH "@loader_path/../../;@loader_path/../kernel/")
set_target_properties( PythonAPIModule PROPERTIES INSTALL_RPATH "@loader_path/../../;@loader_path/../kernel/;@loader_path/../geometry/")
###########################################################################
# Installation settings
###########################################################################
Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/RemoteAlgorithms/CMakeLists.txt
Expand Up @@ -38,7 +38,8 @@ set( INC_FILES
add_library ( RemoteAlgorithms ${SRC_FILES} ${INC_FILES})

# Set the name of the generated library
set_target_properties ( RemoteAlgorithms PROPERTIES OUTPUT_NAME MantidRemoteAlgorithms )
set_target_properties ( RemoteAlgorithms PROPERTIES OUTPUT_NAME MantidRemoteAlgorithms
INSTALL_RPATH "@loader_path/../contents/MacOS/")

# Add to the 'Framework' group in VS
set_property ( TARGET RemoteAlgorithms PROPERTY FOLDER "MantidFramework" )
Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/SINQ/CMakeLists.txt
Expand Up @@ -149,7 +149,8 @@ enable_precompiled_headers ( inc/MantidSINQ/PrecompiledHeader.h SRC_FILES )
add_library ( SINQ ${SRC_FILES} ${INC_FILES} )
# Set the name of the generated library
set_target_properties ( SINQ PROPERTIES OUTPUT_NAME MantidSINQ
COMPILE_DEFINITIONS "IN_MANTID_SINQ" )
COMPILE_DEFINITIONS "IN_MANTID_SINQ"
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET SINQ PROPERTY FOLDER "MantidFramework" )

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/ScriptRepository/CMakeLists.txt
Expand Up @@ -18,7 +18,8 @@ add_library ( ScriptRepository ${SRC_FILES} ${INC_FILES} )
add_subdirectory ( test )
# Set the name of the generated library
set_target_properties ( ScriptRepository PROPERTIES OUTPUT_NAME MantidScriptRepository
COMPILE_DEFINITIONS IN_MANTID_SCRIPTREPO)
COMPILE_DEFINITIONS IN_MANTID_SCRIPTREPO
INSTALL_RPATH "@loader_path/../contents/MacOS/")

set_property (TARGET ScriptRepository PROPERTY FOLDER "MantidFramework")

Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/WorkflowAlgorithms/CMakeLists.txt
Expand Up @@ -98,7 +98,8 @@ enable_precompiled_headers( inc/MantidWorkflowAlgorithms/PrecompiledHeader.h SRC
# Add the target for this directory
add_library ( WorkflowAlgorithms ${SRC_FILES} ${INC_FILES})
# Set the name of the generated library
set_target_properties ( WorkflowAlgorithms PROPERTIES OUTPUT_NAME MantidWorkflowAlgorithms )
set_target_properties ( WorkflowAlgorithms PROPERTIES OUTPUT_NAME MantidWorkflowAlgorithms
INSTALL_RPATH "@loader_path/../contents/MacOS/")
# Add to the 'Framework' group in VS
set_property ( TARGET WorkflowAlgorithms PROPERTY FOLDER "MantidFramework" )

Expand Down

0 comments on commit a9facf7

Please sign in to comment.