Skip to content

XCode Generator in CMake Not Working #249

@ErikAhlund

Description

@ErikAhlund

I am trying to build my CMake project, which uses vectorscan, with XCode generator to run some memory usage tests. When running the XCode generator in CMake I get the following error:

CMake Error in ***/_deps/vectorscan-src/CMakeLists.txt:
  The custom command generating

    ***/_deps/vectorscan-build/src/parser/Parser.cpp

  is attached to multiple targets:

    ragel_Parser
    hs_compile

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

Note that I cannot use -T buildsystem=1 because XCode 15 doesn't allow it any longer (and in order to run XCode in my mac, I need the latest XCode version...

Is there any fix to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wishlistSomething that would be nice to have but not a priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions