I just upgraded from cmake-2.8.11.2 to 2.8.12 and now get errors when a
comma ',' appears in a linker flag. Test case below. Note that this is
but one of many reasons for a comma to appear in linker flags.
https://gist.github.com/jedbrown/7062540
$ mkdir build && cd build
$ cmake -DDEP_
On Sat, Oct 19, 2013 at 08:11:52PM +0100, Nick Hutchinson wrote:
> As of 2.8.12, you can set target properties on an imported library
> to specify its include directories, compile options etc, and these
> will be automatically propagated to any other target that links to
> it via target_link_librar
On Saturday 19 October 2013, you wrote:
> On Sat, Oct 19, 2013 at 11:28:53AM +0400, Игорь Пашев wrote:
> > 2013/10/19 Magnus Therning :
> > > Is it possible to put the include path in some property on the library
> > > as well, to avoid using a separate variable for that?
> >
> > SET_TARGET_PROPER
As of 2.8.12, you can set target properties on an imported library to
specify its include directories, compile options etc, and these will be
automatically propagated to any other target that links to it via
target_link_libraries(). No more tedious faffing about with global
variables like GTEST_INC
On Sat, Oct 19, 2013 at 11:28:53AM +0400, Игорь Пашев wrote:
> 2013/10/19 Magnus Therning :
> > Is it possible to put the include path in some property on the library
> > as well, to avoid using a separate variable for that?
>
> SET_TARGET_PROPERTIES (target PROPERTIES )
Of course, but then how
2013/10/19 Magnus Therning :
> Is it possible to put the include path in some property on the library
> as well, to avoid using a separate variable for that?
SET_TARGET_PROPERTIES (target PROPERTIES )
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http: