Skip to content

pemsley/cmake-python-swig-rpath-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmake-python-swig-rpath-example

How do CMake, Python, SWIG and RPATH work together?

We are encouraged (aren't we?) to use modern tools appropriate for the job - and those seem to be (at least in my little part of the scientific world) CMake, Python, C++ and SWIG to glue them together.

How should we do that exactly?

Err...

Now try it using RPATH.

Now try it on a Mac...

Hmm...

I did some googling and reading and the answer to that was utterly opaque to me.

So here's a project simply designed to be the project that I would have liked to have found several weeks ago.

Some interesting reading:

https://cmake.org/Wiki/CMake_RPATH_handling

https://blog.kitware.com/upcoming-in-cmake-2-8-12-osx-rpath-support/

http://stackoverflow.com/questions/33991581/install-name-tool-to-update-a-executable-to-search-for-dylib-in-mac-os-x

About

How do CMake, Python, SWIG and RPATH work together?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published