Unfortunately I cannot do that, but I can tell you that 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"?

Thanks!


-----Original Message-----
From: Brad King [mailto:brad.k...@kitware.com] 
Sent: Monday, January 12, 2015 8:27 AM
To: Robert Goulet
Cc: Justin 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 
> it's a new bug, or maybe just with a specific generator? In this case 
> I am using the new NVidia NSight Android generator for Visual Studio.
[snip]
> -l"-Wl,--start-group" –lfoo –lbar –l"-Wl,--end-group"

It is likely specific to that (new) generator.

Please post the .vcxproj file that is generated for that.

Thanks,
-Brad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to