<div dir="ltr"><div>Hi Parag.<br><br>There is no way to hook arbitrary postprocessing, and as per <a href="http://public.kitware.com/Bug/view.php?id=13020">http://public.kitware.com/Bug/view.php?id=13020</a> , that is by design.<br><br></div>For your specific issue, CMake has some support for customising a .vc[x]proj using target properties like VS_KEYWORD or VS_GLOBAL_<AnyVariableName>. You can look whether any of them might help generate what you need.<br><br>Petr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 21, 2014 at 9:37 PM, Parag Chandra <span dir="ltr"><<a href="mailto:parag@ionicsecurity.com" target="_blank">parag@ionicsecurity.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>I’ve been using the RC builds of CMake 3.1 to generate Visual Studio projects for Native Client. I have things working pretty well with a few workarounds, but I’m still having one problem that I can’t figure out a solution to. I am targeting the PNaCl
 environment of Native Client, and by default, Google’s project system for Visual Studio will perform a very expensive translation step to convert the final .pexe executable file into architecture-specific .nexe files, one each for x86, x86_64, and ARM. There
 are project settings to disable this translation step, but these options do not seem to translate into any compiler/linker flags that I can see. Instead, XML nodes are added to the resultant .vcxproj file when you disable the translation.</div>
<div><br>
</div>
<div>My question is if there is a way to post-process the .vcxproj file that CMake generates in order to add these additional XML nodes? The naïve thing I tried first is to just run a script to make the modifications, but of course the next time CMake runs
 it will regenerate the project file and wipe out these changes. </div>
<div><br>
</div>
<div>Regards,</div>
<div>
<div><br>
</div>
</div>
<div>Parag Chandra</div>
</div>

<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div><br></div>