Is there an existing issue for this?
Current Behavior
ninja: error: build.ninja:834: multiple rules generate ui/ui_appwindow.h [-w dupbuild=err]
Or, if passing -w dupbuild=warn to Ninja:
ninja: warning: multiple rules generate ui/ui_appwindow.h. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate /home/ouuan/GitHub/cpeditor/build/ui/ui_appwindow.h. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: error: dependency cycle: cpeditor_autogen/timestamp -> cpeditor_autogen_timestamp_deps -> CMakeFiles/cpeditor_autogen_timestamp_deps -> libdiff_match_patch.a -> CMakeFiles/diff_match_patch.dir/diff_match_patch_autogen/mocs_compilation.cpp.o -> cmake_object_order_depends_target_diff_match_patch -> diff_match_patch_autogen -> ui/ui_appwindow.h -> cpeditor_autogen/timestamp
Expected Behavior
It builds.
Steps To Reproduce
- Update packages on Arch Linux.
- Try to build CP Editor.
CP Editor Version
f7df7eb
OS
Arch Linux
Are you willing to contribute to this?
Anything else?
Until this is fixed, Arch Linux users need to downgrade CMake to 3.21.0 or use make instead of Ninja in order to build CP Editor.
Is there an existing issue for this?
Current Behavior
Or, if passing
-w dupbuild=warnto Ninja:Expected Behavior
It builds.
Steps To Reproduce
CP Editor Version
f7df7eb
OS
Arch Linux
Are you willing to contribute to this?
Anything else?
Until this is fixed, Arch Linux users need to downgrade CMake to 3.21.0 or use
makeinstead of Ninja in order to build CP Editor.