Skip to content

[CMake] Improve package granularity + Clean#242

Merged
fredroy merged 3 commits intosofa-framework:masterfrom
guparan:cmake_add_gui_component
Apr 27, 2022
Merged

[CMake] Improve package granularity + Clean#242
fredroy merged 3 commits intosofa-framework:masterfrom
guparan:cmake_add_gui_component

Conversation

@guparan
Copy link
Copy Markdown
Contributor

@guparan guparan commented Mar 23, 2022

Adds the possibility to do:

find_package(SofaPython3 REQUIRED COMPONENTS
    Plugin
    Bindings.Modules
    Bindings.Sofa
    Bindings.SofaExporter
#    Bindings.SofaGui
    Bindings.SofaRuntime
    Bindings.SofaTypes
    )

And thus to not depend on Bindings.SofaGui if not needed.

Adds the possibility to do:

find_package(SofaPython3 REQUIRED COMPONENTS
    Plugin
    Bindings.Modules
    Bindings.Sofa
    Bindings.SofaGui
    Bindings.SofaRuntime
    Bindings.SofaTypes
    )

And thus to not depend on Bindings.SofaGui if not needed.
Comment thread CMake/SofaPython3Tools.cmake
@guparan
Copy link
Copy Markdown
Contributor Author

guparan commented Apr 25, 2022

Please review @sofa-framework/reviewers

@fredroy fredroy merged commit 483597f into sofa-framework:master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants