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

[CMake] SofaMacros.cmake: deprecating sofa_create_package #909

Merged

Conversation

marques-bruno
Copy link
Member

In favor of a new sofa_generate_package function (with named arguments)

It's never clear what the arguments passed to this function are for. Now you have to know to use it :)


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

@marques-bruno marques-bruno added enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Jan 30, 2019
@marques-bruno marques-bruno self-assigned this Jan 30, 2019
@damienmarchal
Copy link
Contributor

I fully agree with the systematic use of name argument in CMake macros.

Copy link
Contributor

@damienmarchal damienmarchal left a comment

Choose a reason for hiding this comment

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

I think this is a good idea to only have named arguments.

@guparan guparan added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Feb 6, 2019
@marques-bruno
Copy link
Member Author

[ci-build][with-scene-tests][with-regression-tests]

@marques-bruno marques-bruno added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status wip Development in the pull-request is still in progress labels Feb 7, 2019
@damienmarchal damienmarchal merged commit 12a232f into sofa-framework:master Feb 11, 2019
@damienmarchal damienmarchal deleted the sofa_generate_package branch February 11, 2019 09:16
guparan pushed a commit to guparan/sofa that referenced this pull request Feb 19, 2019
…package

[CMake] SofaMacros.cmake: deprecating sofa_create_package
# Conflicts:
#	SofaKernel/SofaFramework/SofaMacros.cmake
#	modules/SofaSparseSolver/CMakeLists.txt
@guparan guparan mentioned this pull request Feb 26, 2019
6 tasks
guparan pushed a commit to guparan/sofa that referenced this pull request Feb 26, 2019
…package

[CMake] SofaMacros.cmake: deprecating sofa_create_package
# Conflicts:
#	SofaKernel/SofaFramework/SofaMacros.cmake
#	modules/SofaSparseSolver/CMakeLists.txt
@guparan guparan added this to the v19.06 milestone Jun 20, 2019
alxbilger pushed a commit to alxbilger/sofa that referenced this pull request Oct 27, 2023
…package

[CMake] SofaMacros.cmake: deprecating sofa_create_package
# Conflicts:
#	SofaKernel/SofaFramework/SofaMacros.cmake
#	modules/SofaSparseSolver/CMakeLists.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants