...@cmake.org [mailto:cmake-boun...@cmake.org] Im
Auftrag von Philip Lowman
Gesendet: Samstag, 18. Juli 2009 08:35
An: Carter Cheng
Cc: cmake@cmake.org
Betreff: Re: [CMake] How to handle generated arguments list in CMake
You probably want
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. From there you can
call include_directories(), add_definitions(), and target_link_libraries()
as
Hi,
I am having some difficulties determining how to work with a back quoted
arguments generator using CMake. I.e. something like this-
g++ -g -c Exp.cpp `llvm-config --cppflags --ldflags --libs core jit native`
Any advice/tips would be appreciated.
Thanks in advance,
Carter.