[CMake] How to handle generated arguments list in CMake
Jörg Förstner
Joerg.Foerstner at ubidyne.com
Mon Jul 27 12:06:59 EDT 2009
Hi Carter,
Maybe my solution may help you too:
Please see my latest thread/post with the subject "Script running gcc does not come back".
I had the problem how to add an option "-frandom-seed=<checksum-of-source-file>" to the gcc call.
Joerg
________________________________
Von: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] Im Auftrag von Philip Lowman
Gesendet: Samstag, 18. Juli 2009 08:35
An: Carter Cheng
Cc: cmake at cmake.org
Betreff: Re: [CMake] How to handle generated arguments list in CMake
You probably want to use the execute_process() on "llvm-config --cppflags", then "llvm-config --ldflags", etc. and store each into a variable using a regular expression if necessary to parse the output.
More information about the CMake
mailing list