On Fri, Jul 17, 2015 at 11:25 AM, Robert Dailey
<rcdailey.li...@gmail.com> wrote:
> Hello,
>
> How would I define a toolchain file for the Visual Studio 2013
> generator that also defines the toolset for that generator to be the
> November CTP compiler?
>
> I'd rather use a toolchain for this than do -D definitions when I
> invoke cmake to generate.
>
> Thanks in advance.

Any thoughts on this? I'd actually rather specify the toolset within
my root CMakeLists.txt script (since when generating our code, you
*must* use the November CTP compiler when selecting the MSVC12
generator). However the documentation states it should not be set from
within the CMake script.

Ideas? The toolchain file is not necessary if it's valid to set the
CMAKE_GENERATOR_TOOLSET variable within the CMakeLists.txt script
(before or after the first project() call?)
-- 

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

Reply via email to