, CMake
Subject: Re: [CMake] How to use Ninja on Windows with MSVC?
On Wed, May 22, 2019 at 10:27 AM Michael Jackson
wrote:
Do this all the time both for our CDash nightlies and when I am developing on
Windows. The essential pieces of the puzzle are the following:
1: Ninja needs to be
Thanks everyone. I fully understand about compilers being on PATH or
setting the CMAKE__COMPILER variables. However, what is really
important is the system introspection done by CMake to find the IDEs
when you select the visual studio generators. I was hoping that logic
could be shared. This would
> On May 22, 2019, at 6:58 AM, Robert Dailey wrote:
>
> From the command line, I want to generate Ninja build scripts that
> utilize a specific version of MSVC compiler. Basically I'd like the
> combination of `-G"Visual Studio 15 2017"` with regards to its ability
> to find the C and C++ compi
On Wed, May 22, 2019 at 10:27 AM Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> Do this all the time both for our CDash nightlies and when I am developing
> on Windows. The essential pieces of the puzzle are the following:
>
> 1: Ninja needs to be on your path
> 2: The compilers need to b
Do this all the time both for our CDash nightlies and when I am developing on
Windows. The essential pieces of the puzzle are the following:
1: Ninja needs to be on your path
2: The compilers need to be on your path.
1 can be solved in a few different ways. The brute force is to edit the system
The easiest way is to launch a CMD with the correct development environment
(see for example
https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs).
Le 22 mai 2019 à 15:58 +0200, Robert Dailey , a écrit
:
> From the command line, I want to generate Ninja build
You can run `CMake -GNinja ` in a visual studio
command line prompt where It could find the right C/C++ compiler via the
environment. Normally you can find the command line prompt in the windows
menu.
On Wed, May 22, 2019 at 9:58 AM Robert Dailey
wrote:
> From the command line, I want to generat