[CMake] Re: Help getting -l and -L arguments from apr-config

Matthew Woehlke mw_triad at users.sourceforge.net
Mon May 7 11:26:34 EDT 2007


Thomas Christian Chust wrote:
> Bill Hoffman wrote:
>> I think you are going to have to use regular expressions.
> 
> if you want some code that can correctly identify matching quotation
> marks, regular expressions don't have enough expressive power to
> describe that behaviour (you would need something like PEGs to do this).
> 
> And writing the code that recognizes matching quotation marks in CMake
> is probably a pure nightmare. A fully fledged programming language would
> be nicer for that task...

...that's why I am thinking CMake's SEPARATE_ARGUMENTS should do this. I 
guess I'll go file a RFE.

-- 
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.
init: What truth?
child: There is no .sig.



More information about the CMake mailing list