[CMake] Disable generation of backslashes?

Brad King brad.king at kitware.com
Mon Aug 15 18:04:33 EDT 2005


alaterale at elitemail.org wrote:
> Hi,
> I was wondering if there was an option to disable generation of
> backslashes in makefiles.  While most programs I put into custom
> commands can take a "\ " instead of a real space, some of the programs
> I'm using at work were designed rather poorly (like compilers for rather
> obtuse systems--which btw I can't use cmake's natural rule system for
> because the compiler's only function is to generate assembly code which
> is then assembled).
> 
> So, something like gcc \ -S\ -miram-vrm\ -gstabs\ .... gets generated,
> where the non backslash version is the only one that works.

What CMake code are you using to produce this?

-Brad


More information about the CMake mailing list