Hi Parag. There is no way to hook arbitrary postprocessing, and as per http://public.kitware.com/Bug/view.php?id=13020 , that is by design.
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. Petr On Fri, Nov 21, 2014 at 9:37 PM, Parag Chandra <pa...@ionicsecurity.com> wrote: > 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. > > 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. > > Regards, > > Parag Chandra > > -- > > 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 >
-- 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