Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

[cmake] make python stubs depend on .pyc file compilation & sync submodule #85

Merged
merged 2 commits into from
May 15, 2024

Conversation

ManifoldFR
Copy link
Member

No description provided.

@@ -70,8 +70,10 @@ endforeach()

# Generate stubs
if(GENERATE_PYTHON_STUBS)
python_build_get_target(python_build_target_name)
load_stubgen()
generate_stubs(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment to explain generate_stubs dependencies.

I copy/paste the comment from pinocchio as an example :

    # Set PYWRAP and PROJECT_NAME as stubs dependencies.
    # PROJECT_NAME is mandatory (even if it's a PYWRAP dependency)
    # to find PROJECT_NAME name DLL on windows.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea

@ManifoldFR
Copy link
Member Author

windows isn't real it can't hurt us

@ManifoldFR ManifoldFR merged commit 47f50a3 into devel May 15, 2024
31 of 35 checks passed
@ManifoldFR ManifoldFR deleted the topic/fix-windows-ci branch May 15, 2024 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants