Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit building python bindings separately from main library #554

Merged
merged 7 commits into from
Nov 8, 2024

Commits on Nov 5, 2024

  1. Avoid to use CMAKE_SOURCE_DIR

    Signed-off-by: Silvio Traversaro <[email protected]>
    traversaro authored and scpeters committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    e6e6c6f View commit details
    Browse the repository at this point in the history
  2. Support compilation of bindings as standalone project

    Signed-off-by: Silvio Traversaro <[email protected]>
    traversaro authored and scpeters committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    87c80e7 View commit details
    Browse the repository at this point in the history
  3. Fix python install path

    Use CMAKE_INSTALL_LIBDIR from GNUInstallDirs instead
    of GZ_LIB_INSTALL_DIR, which won't be available if
    only building python bindings.
    
    Signed-off-by: Steve Peters <[email protected]>
    scpeters committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    f11c332 View commit details
    Browse the repository at this point in the history
  4. Use consistent cmake required version

    Also remove unneeded enable_testing() call.
    
    Signed-off-by: Steve Peters <[email protected]>
    scpeters committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4083472 View commit details
    Browse the repository at this point in the history
  5. Find pybind11 in python/CMakeLists.txt

    Signed-off-by: Steve Peters <[email protected]>
    scpeters committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b9f4d04 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Consolidate build from source instructions

    Combine similar steps for Ubuntu and macOS
    
    Signed-off-by: Steve Peters <[email protected]>
    scpeters committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    592a694 View commit details
    Browse the repository at this point in the history
  2. Document building python bindings separately

    Signed-off-by: Steve Peters <[email protected]>
    scpeters committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    1c30b3d View commit details
    Browse the repository at this point in the history