I'm constantly getting out of memory errors with VS 2013 and the x86 linker.  I 
stumbled across this blog post that recommends moving to the 64 bit linker.  
http://blogs.msdn.com/b/vcblog/archive/2013/10/30/the-visual-c-linker-best-practices-developer-iteration.aspx

The article mentions adding /Bv to the command line to invoke the 64 bit 
linker.  However, it appears that isn't exactly right.  Later on in the 
comments, it is revealed that you have to edit all the *.vcxproj files and add:

<UseNativeEnvironment>true</UseNativeEnvironment>

to the x64 PropertyGroup for all 4 build types (Debug, Release, MinSizeRelease, 
RelWithDebInfo).  So far I've come up empty handed with a way to do this in 
CMake.

1) Is it possible to force CMake to add this option to each VS project file?
or
2) Is it possible to have CMake run an external command after generation which 
I could code to add that to the project files?

Thanks for any help.

Scott
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to