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

XCode 12 and CMake 3.19 support #368

Open
traversaro opened this issue Nov 25, 2020 · 2 comments
Open

XCode 12 and CMake 3.19 support #368

traversaro opened this issue Nov 25, 2020 · 2 comments

Comments

@traversaro
Copy link
Member

Even by fixing the clear copy&paste problems #367 and #364, the combination of XCode 12 and CMake 3.19 is not working with the following error:

CMake Error in CMakeLists.txt:
  The custom command generating

    /Users/runner/work/robotology-superbuild/robotology-superbuild/build/robotology/YCM/CMakeFiles/YCMStamp/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/YCM-mkdir

  is attached to multiple targets:

    YCM-update
    YCM

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".

It turns out that there have been several changes in CMake 3.19 to ExternalProject , that also involved the creation of a policy:

This changes means that, as YCM ships a vendored ExternalProject, basically any project that uses both YCM and ExternalProject can't support Xcode 12 and CMake 3.19 without more complex changes (dropping the vendored ExternalProject, as suggested in #50 (comment) ?). In any case, for sure for 2020.11 distro we will simply not support Xcode 12.

@nunoguedelha
Copy link

Ciao @traversaro , any news on an eventual future support of Xcode?

@traversaro
Copy link
Member Author

Unfortunatly not, I guess no one worked on #50 that should also fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants