Commit ce6201c1 authored by jclamber's avatar jclamber

updates for Mac OSX

git-svn-id: http://svn.oamp.fr/repos/unsio/trunk@199 ce2cc22f-6084-46ce-a062-084b172ee5dc
parent a03efefd
......@@ -101,7 +101,9 @@ IF (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
ENDIF ()#NOT CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
MESSAGE( STATUS "--------> CMAKE_INSTALL_PREFIX =" ${CMAKE_INSTALL_PREFIX})
if (OSX)
MESSAGE(STATUS "\nAfter running \"make install\", do not forget to set your environment variable DYLD_LIBRARY_PATH using command:\n\n export DYLD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib\n")
endif(OSX)
# use, i.e. don't skip the full RPATH for the build tree
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
......
......@@ -92,3 +92,13 @@ A list of all available make targets can be obtained by
make help
IV) Mac OSX
============
Under Mac OSX platform, once installed unsio, you have to set environement DYLD_LIBRARY_PATH to UNSIO installed location path
export DYLD_LIBRARY_PATH=_UNSIOPATH_/lib
where _UNSIOPATH_ matches to UNSIO installed location path
......@@ -91,4 +91,5 @@ MESSAGE( STATUS "--------> CMAKE_INSTALL_PREFIX =" ${CMAKE_INSTALL_PREFIX})
INSTALL(FILES ${PROJECT_BINARY_DIR}/_${MODULENAME}.so DESTINATION py/modules)
INSTALL(FILES ${PROJECT_BINARY_DIR}/swig/${MODULENAME}.py DESTINATION py/modules)
MESSAGE( STATUS "\nAfter running \"make install\", do no forget to set PYTHONPATH variable with command:\n export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/py_modules\n\n")
#
......@@ -69,9 +69,13 @@ To install py_unsio module and library, enter
make install
note that files will be installed in UNSIOPATH/py/modules
note that files will be installed in _UNSIOPATH_/py/modules
directory. In order to use *py_unsio* module, you have to add path
UNSIOPATH/py/modules to your environment variable PYTHONPATH
_UNSIOPATH_/py/modules to your environment variable PYTHONPATH
export PYTHONPATH=_UNSIOPATH_/py/modules
_UNSIOPATH_ must match the asbolute path of UNSIO installed directory
A list of all available make targets can be obtained by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment