[cmake-developers] [wishlist BUG?] limit on the length of the CFLAGS environment variable too small?

Brad King brad.king at kitware.com
Sun Jul 31 09:11:16 EDT 2011


On 7/30/2011 3:52 AM, Alan W. Irwin wrote:
>    CMakeFiles/cmTryCompileExec.dir/flags.make:6: *** missing separator.  Stop.
[snip]
> That "missing separator" issue makes me think I may be running into
> some length limit with cmake.

The error is coming from the Make tool, not CMake.  Try running
CMake with --debug-trycompile so it leaves behind the offending
flags.make file.  Look at the file to see if there is anything
funny looking on that line.

-Brad



More information about the cmake-developers mailing list