: Tuesday, January 13, 2015 12:29 PM
To: Robert Goulet
Cc: Brad King; Justin Borodinsky; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Well, in this particular case I believe we can patch the old release of Nsight
Tegra that you're
@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Problem with that is that we are using generator expressions in the library
path names. That won't work when trying to set CMAKE_EXE_LINKER_FLAGS if I'm
not mistaken.
-Original Message-
From
King; Justin Borodinsky; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Well, in this particular case I believe we can patch the old release of Nsight
Tegra that you're using to make it behave properly when
-Wl,--start-group/-Wl
On 1/13/2015 6:19 AM, Dmitry Polyanitsa wrote:
you could try using parentheses instead of -Wl,--start-group/-Wl,--end-group
[snip]
it should serve as a workaround while we fix the prefix addition to the
-Wl flags in Nsight Tegra.
Thanks, Dmitry.
Robert, the linker group flags are
to the -Wl flags
in Nsight Tegra.
-Dmitry
-Original Message-
From: Brad King [mailto:brad.k...@kitware.com]
Sent: Monday, January 12, 2015 9:06 PM
To: Robert Goulet
Cc: Justin Borodinsky; cmake-developers@cmake.org; Dmitry Polyanitsa
Subject: Re: [cmake-developers] target_link_libraries
]
Sent: Tuesday, January 13, 2015 9:11 AM
To: Robert Goulet
Cc: Dmitry Polyanitsa; Justin Borodinsky; cmake-developers@cmake.org
Subject: Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
On 1/13/2015 6:19 AM, Dmitry Polyanitsa wrote:
you could try using parentheses
; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Hi all,
Dmitry suggestion didn't work. It outputs the following in the .vcxproj file:
AdditionalDependenciesc;m;dl;log;android;EGL;GLESv2;OpenSLES;(;foo;bar;)/AdditionalDependencies
To: Robert Goulet; Brad King
Cc: Justin Borodinsky; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Ah, in that case I'm afraid it won't work since we've added the parentheses
syntax in 3.0r4.
The only other option I can think
, January 13, 2015 10:48 AM
To: Robert Goulet; Brad King
Cc: Justin Borodinsky; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Robert,
What Nsight Tegra version are you using? The AdditionalDependencies string
you've described
-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
Using NVidia NSight Tegra 3.0r3. Upgrading to 3.0r4 is not an option right now
because it would require all our users to use and nightly build of CMake and we
want to stick with official
On 1/9/2015 4:28 PM, Robert Goulet wrote:
I realize the cmake documentation says that everything that starts with
- should be treated as other linker flags, so I wonder, perhaps it's a
new bug, or maybe just with a specific generator? In this case I am
using the new NVidia NSight Android
On 1/12/2015 12:39 PM, Robert Goulet wrote:
the generated line in the .vcxproj file looks correct :
AdditionalDependenciesandroid;dl;EGL;GLESv3;OpenSLES;-Wl,--start-group;libfoo.a;libbar.a;-Wl,--end-group/AdditionalDependencies
So now I am guessing the problem is in the glue that adds
Borodinsky; cmake-developers@cmake.org
Subject: Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
On 1/9/2015 4:28 PM, Robert Goulet wrote:
I realize the cmake documentation says that everything that starts
with - should be treated as other linker flags, so I wonder, perhaps
...@gmail.com
justin.borodin...@gmail.com]
*Sent:* Thursday, January 8, 2015 10:18 PM
*To:* Robert Goulet
*Cc:* Robert Maynard; cmake-developers@cmake.org
*Subject:* Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
I had a similar problem, and I found that passing
To: Robert Goulet
Cc: Robert Maynard; cmake-developers@cmake.org
Subject: Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
I had a similar problem, and I found that passing the extra flags, along with
the libraries, to target_link_libraries directly worked.
On Tue, Jan 6
confirm if this also happens with other generators?
Thanks!
From: Robert Goulet
Sent: Friday, January 9, 2015 10:55 AM
To: 'Justin Borodinsky'
Cc: Robert Maynard; cmake-developers@cmake.org
Subject: RE: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
I tried
*To:* Robert Goulet
*Cc:* cmake-developers@cmake.org
*Subject:* Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
I believe what you want to do is bring the libraries in as imported
targets and set the target property IMPORTED_LINK_INTERFACE_MULTIPLICITY (
http
[mailto:robert.mayn...@kitware.com]
Sent: Monday, January 5, 2015 4:22 PM
To: Robert Goulet
Cc: cmake-developers@cmake.org
Subject: Re: [cmake-developers] target_link_libraries and
--start-group/--end-group ?
I believe what you want to do is bring the libraries in as imported targets and
set
Hello,
On 05/01/15 20:09, Robert Goulet wrote:
My project needs to link with an external library which actually consist
of a set of libraries. Adding these libs using target_link_libraries
should be working just fine but unfortunately these libs have a bunch of
circular dependencies, so it
Hi,
My project needs to link with an external library which actually consist of a
set of libraries. Adding these libs using target_link_libraries should be
working just fine but unfortunately these libs have a bunch of circular
dependencies, so it fails. In the makefile, we link with these
I believe what you want to do is bring the libraries in as imported targets
and set the target property IMPORTED_LINK_INTERFACE_MULTIPLICITY (
http://www.cmake.org/cmake/help/v3.0/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.html
).
By default the value should be 2 which means that we will list
21 matches
Mail list logo