Skip to content

Cmake build fails if using Xcode generator #11

Description

@frenchdog

(Reported by @dgovil)

The CMake build fails if using the Xcode generator. Using the Unix Makefiles generator works fine, but maybe it's worth calling out in the build instructions to use the Makefile generator?
The error is

CMake Error in cmake/bifusd/src/config/CMakeLists.txt:
  The custom command generating

    /Users/dhruvgovil/Projects/bifrost-usd/apple/build_scripts/build/bifrost_usd_build_maya2023/cmake/bifusd/src/config/bifusd/config/CfgCompilerMacros.cpp

  is attached to multiple targets:

    cg-CfgCompilerMacros.h-0acc790d41c
    hc-CfgCompilerMacros.h-0acc790d41c

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions