[cmake-developers] [Review Request] Topic wxWidgets-cflags

Richard Shaw hobbes1069 at gmail.com
Fri Aug 22 10:02:34 EDT 2014


On Fri, Aug 22, 2014 at 8:44 AM, Brad King <brad.king at kitware.com> wrote:

> On 08/21/2014 03:25 PM, Richard Shaw wrote:
> > So the string command should be something like:
> >
> > string(REPLACE ";" " " wxWidgets_CXX_FLAGS_str "${wxWidgets_CXX_FLAGS}")
> > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS_str}")
>
> Yes, and followed by unset(wxWidgets_CXX_FLAGS_str) to clear the
> variable to not present it to applications.
>
> Ok, hopefully this is better. I'm reading up on git but I still fubmble
around a bit...

http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=8e702cabfb149d1c67af725a3952af7034a2981d

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140822/c18630f7/attachment-0002.html>


More information about the cmake-developers mailing list