-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
install/buildbug in the installation or build scriptsbug in the installation or build scripts
Description
Describe the bug
cmake -G Xcode fails
To Reproduce
Run mkdir build, cd build and cmake -G Xcode .. on a Mac
Expected behavior
cmake -G Xcode does not fail and generates xcodeproj
Version
ef6c679
Stack trace
$ cmake -G Xcode ../
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using Cmake version 3.31.0
-- Build spdlog: 1.14.1
-- Build type:
-- The javacc executable not found, using existing files
-- The generateDS executable not found, using existing files
-- Configuring done (4.8s)
CMake Error in src/CMakeLists.txt:
The custom command generating
/path/to/doxygen/build/generated_src/configvalues.h
is attached to multiple targets:
generate_configvalues_header
doxycfg
doxymain
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
CMake Error in deps/spdlog/CMakeLists.txt:
The custom command generating
/path/to/doxygen/build/generated_src/configvalues.h
is attached to multiple targets:
generate_configvalues_header
doxycfg
doxymain
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
Metadata
Metadata
Assignees
Labels
install/buildbug in the installation or build scriptsbug in the installation or build scripts