<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">
<div dir="auto">The easiest way is to launch a CMD with the correct development environment (see for example <a href="https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs">https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs</a>).
<div dir="auto"><br /></div>
</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Le 22 mai 2019 à 15:58 +0200, Robert Dailey <rcdailey.lists@gmail.com>, a écrit :<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">From the command line, I want to generate Ninja build scripts that<br />
utilize a specific version of MSVC compiler. Basically I'd like the<br />
combination of `-G"Visual Studio 15 2017"` with regards to its ability<br />
to find the C and C++ compiler on the system via registry/environment<br />
variables, and `-G"Ninja"` with regards to it being the build driver<br />
for that compiler.<br />
<br />
Is this even possible?<br />
--<br />
<br />
Powered by www.kitware.com<br />
<br />
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ<br />
<br />
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br />
<br />
CMake Support: http://cmake.org/cmake/help/support.html<br />
CMake Consulting: http://cmake.org/cmake/help/consulting.html<br />
CMake Training Courses: http://cmake.org/cmake/help/training.html<br />
<br />
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br />
<br />
Follow this link to subscribe/unsubscribe:<br />
https://cmake.org/mailman/listinfo/cmake<br /></blockquote>
</div>
</body>
</html>