The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13728 ====================================================================== Reported By: JussiP Assigned To: ====================================================================== Project: CMake Issue ID: 13728 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-11-23 04:13 EST Last Modified: 2012-11-23 04:13 EST ====================================================================== Summary: Ninja file generated by CMake is invalid Description: When generating a Ninja build system for Scribus, the resulting build.ninja is invalid. The following error is printed when running Ninja:
ninja: error: build.ninja:6397: bad $-escape (literal $ must be written as $$) FLAGS = $(CMAKE_CXX_FLAGS) -fPIC -O2 -Wall -fPIC -Iscribus/third_party... ^ near here Steps to Reproduce: Check out Scribus from git: git clone git://git.scribus.net/scribus.git Run CMake with the ninja backend. Run Ninja. Additional Information: The error is caused by the parentheses surrounding the word CMAKE_CXX_FLAGS. Manually editing the Ninja file and removing the parentheses in all locations they appear fixes the issue and running Ninja will work correctly. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-11-23 04:13 JussiP New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers