[Doxygen-develop] Build error for Ninja Generator
Brought to you by:
dimitri
From: masaru t. <m.t...@gm...> - 2018-05-02 13:09:46
|
Hi I found a bug that doxygen can't compile for Ninja generator. It works for 'Unix Makefiles' generator This is the error message. ninja: warning: multiple rules generate generated_src/configvalues.h. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn] ninja: error: build.ninja:2384: bad $-escape (literal $ must be written as $$) This is the diff of build.ninja between good revision ( ok_b6f01ff09b17e5c2288f2418ef0a8f074456c357) and bad revision (c78c338fffbdbb9b2379b1896e647f7cc697da57) $ diff build/build.ninja ok_b6f01ff09b17e5c2288f2418ef0a8f074456c357 2384c2384 < COMMAND = cd /home/user/gitwork/doxygen/build/testing && /usr/bin/python /home/user/gitwork/doxygen/testing/runtests.py $(TEST_FLAGS) --doxygen /home/user/gitwork/doxygen/build/bin/doxygen --inputdir /home/user/gitwork/doxygen/testing --outputdir /home/user/gitwork/doxygen/build/testing --- > COMMAND = cd /home/user/gitwork/doxygen/build/testing && /usr/bin/python /home/user/gitwork/doxygen/testing/runtests.py --all --doxygen /home/user/gitwork/doxygen/build/bin/doxygen --inputdir /home/user/gitwork/doxygen/testing --outputdir /home/user/gitwork/doxygen/build/testing By tweaking $(TEST_FLAGS) to --all, the build succeeded. This is a script to reproduce. ------------------------------------------------------------------------------- #!/bin/sh if [ -e build ]; then rm -rf build fi mkdir build cd build cmake -G Ninja -D CMAKE_BUILD_TYPE=Release .. cmake --build . -- -j 3 -v || echo error && cd .. && exit 1 cd .. ------------------------------------------------------------------------------- |