[CMake] Looking for workaround to try-compile problem for Visual Studio 11 ARM

2012-10-20 Thread Dan Peterson
I am currently experience the issue described in this bug report: http://public.kitware.com/Bug/view.php?id=13511 I cannot generate a project for Visual Studio 11 ARM for my C++ library because try-compile bails with this error: error MSB8022: Compiling Desktop applications for the ARM

Re: [CMake] Overriding CMAKE_LANG_FLAGS on a per target basis for Visual Studio project generation

2012-04-21 Thread Dan Peterson
/2012 08:31, Dan Peterson wrote: I love cmake, but I am still a bit of a novice, so perhaps there is a better way to approach this problem.  I am building a library using cmake.  On Windows I need to be able to build two versions: one that links statically to the CRT (/MT) and one that links

[CMake] Overriding CMAKE_LANG_FLAGS on a per target basis for Visual Studio project generation

2012-04-20 Thread Dan Peterson
I love cmake, but I am still a bit of a novice, so perhaps there is a better way to approach this problem. I am building a library using cmake. On Windows I need to be able to build two versions: one that links statically to the CRT (/MT) and one that links dynamically to the CRT (/MD).  I would