You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
If it's a simple fix we will gladly accept a patch to enable Xcode builds, however it's not in our current plans to support Xcode generators from cmake. Try using plain Unix Makefiles or Ninja instead. I will leave this open as wishlist.
I use Ninja as my default generator and that works without any problems, but I needed to use XCode to run some tests using their internal tools.
I am also not too familiar with how Xcode does things, and honestly it seems like more of an apple problem since all other generators work fine. In any case, if you could support Xcode generator at some point that would be great, so thank you for adding the wishlist label.
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:
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?
The text was updated successfully, but these errors were encountered: