-
Notifications
You must be signed in to change notification settings - Fork 316
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
[CMake] Remove COMPONENTSET, keep DEPRECATED #586
[CMake] Remove COMPONENTSET, keep DEPRECATED #586
Conversation
No need to explain what this option does.
[ci-build][with-scene-tests] |
Will try a build on CI with |
Here we go, let's try to [ci-build][with-scene-tests] |
Build fails because of a dependency from MouseOperations to multiple deprecated components in SofaUserInteraction. |
by build_option_deprecated_components.h.in
These components are needed by MouseOperations: - AddRecordedCameraPerformer - FixParticlePerformer - InciseAlongPathPerformer - RemovePrimitivePerformer - StartNavigationPerformer - SuturePointPerformer
a11e824
to
1acecd7
Compare
TODO: add file for deprecated components, SceneChecker will read this file. |
and update deprecated components list
SofaDeprecatedComponents is a simple executable that reads the map sofa::helper::deprecated::components and outputs all components. It will be used by SOFA CI scripts to avoid testing scenes that contain deprecated components. WARNING: the map needs to be up-to-date!
@damienmarchal Could you have a look at my recent commits (particularly 661d760) please? |
Hi @guparan everything looks fine to me except that I disagree with having sofa code in tools/ :) Because to me tools/ is just there to hold external tools that are not compiled from sofa code. |
Understood, I'll move it to applications/projects :-) EDIT: Then SofaGTestMain should be moved too. |
tools/SofaDeprecatedComponents -> applications/projects/getDeprecatedComponents
Here we go! |
SOFA_WITH_DEPRECATED_COMPONENTS will be disabled when we will be able to ignore scenes containing deprecated components.
[CMake] Remove COMPONENTSET, keep DEPRECATED
This PR removes the COMPONENTSET mechanism from our CMakeLists.
Deprecated components are now identified by the option SOFA_WITH_DEPRECATED_COMPONENTS.
I also couldn't resist to reformat a bit. Tell me if I did something wrong!
This PR:
Reviewers will merge only if all these checks are true.