[cmake-developers] target_link_libraries and --start-group/--end-group ?

Brad King brad.king at kitware.com
Mon Jan 12 13:06:04 EST 2015


On 1/12/2015 12:39 PM, Robert Goulet wrote:
> the generated line in the .vcxproj file looks correct :
> 
> <AdditionalDependencies>android;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 support of Android to the VS IDE?
> Where is the code that translate a link library into the command line, such as "libfoo.a" to "-lfoo"?

That is in the Nsight Tegra implementation AFAIK.  Here is
a related change already in 3.1.0:

 VS: Fix Tegra-Android platform linking of libraries by name
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=178f56a5

Dmitry, how does Nsight Tegra transform these flags?

Thanks,
-Brad


More information about the cmake-developers mailing list