[CMake] Trigger a build with CMake
Leif Walsh
leif.walsh at gmail.com
Tue Apr 16 11:23:39 EDT 2013
cmake --build /path/to/build/dir [--target <target name>]
I usually go to the build directory and type `cmake --build .` You can
pass extra options to the underlying build system by adding `--`
afterwards, so if you are using, for example, the Makefile generator, you
can build in parallel with `cmake --build . -- -j5`
On Tue, Apr 16, 2013 at 11:18 AM, Saad Khattak <saadrustam at gmail.com> wrote:
> Hi,
>
> Now that I have a project up and running with CMake generated native
> project files, can I trigger a build with CMake as well? That is, a
> cross-platform way to trigger a build on the project without the need for
> me to call 'msbuild' on windows for example?
>
> - Saad
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Cheers,
Leif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130416/10646eb2/attachment.htm>
More information about the CMake
mailing list