Skip to content

Instantly share code, notes, and snippets.

@ibogun
Created March 26, 2015 20:19
Show Gist options
  • Save ibogun/242cec3e9f2c0723d2c5 to your computer and use it in GitHub Desktop.
Save ibogun/242cec3e9f2c0723d2c5 to your computer and use it in GitHub Desktop.
cmake python remote
cmake -DBUILD_NEW_PYTHON_SUPPORT=ON -DPYTHON_INCLUDE_DIR=~/local/include/python2.7/ -DPYTHON_EXECUTABLE=~/local/bin/python -DPYTHON_NUMPY_INCLUDE_DIR=`python -c 'import numpy; print numpy.get_include()'` -DPYTHON_PACKAGES_PATH=~/local/lib/python2.7/site-packages/ -DCMAKE_C_FLAGS='-fPIC' -DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX=~/local/ ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment