<div dir="ltr"><div><div>Awesome - in that case I'll use this built-in support instead of spending time on writing a python script to call from add_custom_command().</div><div><br></div><div>It's not officially documented yet ( <a href="http://bit.ly/1MOzB0S">http://bit.ly/1MOzB0S</a> ), but I can use the link you sent ( <a href="http://bit.ly/1UdL3nc">http://bit.ly/1UdL3nc</a> ) for documentation.</div><div><br></div><div>I'm not sure whether this is in the CMake 3.3.1 release, but if not then I can try a nightly build:</div><div><br></div><div><a href="http://www.cmake.org/download/">http://www.cmake.org/download/</a> -> <a href="http://www.cmake.org/files/dev/?C=M;O=D">http://www.cmake.org/files/dev/?C=M;O=D</a> -> cmake-3.3.20150824-ga3d05-win32-x86.exe</div></div><div><br></div><div>Or if that doesn't work, then maybe I'll wait a few days and try a newer nightly build :-)</div><div><br></div><div><div>thank you,</div><div>Peter</div></div><div><br></div><div>PS: I love this built-in (nvidia tegra nsight + visual studio 2010) support...  Some similar things that would also be awesome as built-in support are...  nvidia tegra nsight + visual studio 2013, 2015.  nmake + Android Studio (Windows, Mac, Linux).  iOS + XCode.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 26, 2015 at 7:15 AM, Dmitry Polyanitsa <span dir="ltr"><<a href="mailto:dpolyanitsa@nvidia.com" target="_blank">dpolyanitsa@nvidia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Peter,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Note the commit Brad mentioned in another thread:<u></u><u></u></span></p>
<p><span style="color:#1f497d">> </span>VS: Add more Nsight Tegra generator Android property settings<u></u><u></u></p>
<p>> <a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c0afaf4" target="_blank">
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c0afaf4</a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It adds the ability to set both Native Library Directories and Native Library Dependencies, among other things. Thanks for the link to the forum post, by the
 way – we forgot to update it and will do that now.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Dmitry<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> cmake-developers [mailto:<a href="mailto:cmake-developers-bounces@cmake.org" target="_blank">cmake-developers-bounces@cmake.org</a>]
<b>On Behalf Of </b>Peter List<br>
<b>Sent:</b> Wednesday, August 26, 2015 5:06 AM<br>
<b>To:</b> <a href="mailto:cmake-developers@cmake.org" target="_blank">cmake-developers@cmake.org</a><br>
<b>Subject:</b> [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">I have a working hello world cmake + built-in Android using nvidia nsight tegra.  It uses SDL2.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Unfortunately, after I run cmake I have to manually edit the following in my vcxproj to add SDL2:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Configuration Properties > Ant Build > Native Library Directories, Native Library Dependencies<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I found this post ( <a href="http://bit.ly/1NTgTE3" target="_blank">http://bit.ly/1NTgTE3</a> ) from May 5th (3 months 20 days ago) describing the same issue.  Is there an ETA on this?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Since this isn't out yet, is there a work-around I can do instead?  So far my best idea is to have cmake use add_custom_command() as a post-build step to call a python script that edits the vcxproj file XML.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">    <AntBuild><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      <AntBuildPath>[path]\build-android\android-project</AntBuildPath><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      <AndroidManifestLocation>[path]\build-android\android-project\AndroidManifest.xml</AndroidManifestLocation><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      <NativeLibDirectories>../../../SDL2-2.0.3/libs/armeabi-v7a</NativeLibDirectories><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      <NativeLibDependencies>SDL2</NativeLibDependencies><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    </AntBuild><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thank you<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>

<div>
<hr>
</div>
<div>This email message is for the sole use of the intended recipient(s) and may 
contain confidential information.  Any unauthorized review, use, disclosure 
or distribution is prohibited.  If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message. </div>
<div>
<hr>
</div>
</div>

</blockquote></div><br></div>