El 31/08/15 a las 11:35, Guillaume Dumont escribió:
Hi all,
Using ninja is especially useful for projects with a lot of CUDA files which are built sequentially for every target using MSVS.

I would like to contribute but I don't really know where to start and if such an effort already exists.

Hi, Guillaume.

Currently cmake offers support for Ninja Makefiles. You need to set up your build environment by running the microsoft setenv.bat file (or whatever is called in your version of msdev, as it has changed names a couple of times). That should allow cmake to find the proper compiler.

Then, if you specify:

$ cd <location of your CMakeLists.txt>
$ mkdir ninja_build
$ cd ninja_build
$ cmake .. -G Ninja

You will get ninja files for your project.

--

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