The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11712 ====================================================================== Reported By: Andreas Pakulat Assigned To: ====================================================================== Project: CMake Issue ID: 11712 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2011-01-17 06:25 EST Last Modified: 2011-01-17 06:25 EST ====================================================================== Summary: add_definitions/COMPILE_DEFINITIONS do not support defines with semicolon Description: Trying to add a define which has a semicolon in its text results in completely broken compiler commandlines with wrong escaping of arguments.
The attached project shows this, there doesn't seem to be a way to escape the semicolon so that cmake ignores it. CMake always interprets that as a separator for the list of defines apparently, which then breaks the compile-commandline due to broken quoting. I tried this with both gnu makefiles and gcc as well as nmake makefiles and cl, with the same results. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-01-17 06:25 Andreas PakulatNew Issue 2011-01-17 06:25 Andreas PakulatFile Added: tst_sep.tar.gz ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers