[CMake] CPack Multicore Usage

Konstantin Tokarev annulen at yandex.ru
Thu Jul 20 04:32:49 EDT 2017



20.07.2017, 11:22, "Jörg Kreuzberger" <j.kreuzberger at procitec.de>:
> Hi
>
> My Project is compiling multicore without any problems using Unix makefiles or ninja.
>
> In calls to cpack only one core is used if Makefiles are used. Is there any option to enable multicore?

Yes, you should run make -jN, where N is a number of your cores or slightly larger

> If i use ninja in cpack builds, the cpack build is broken, cause there seems no dependencies considered?
>
> Is ninja use in cpack intended? Or are there any contraints using ninja and cpack?
>
> Greetz, Joerg
>
> --
>
> 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

-- 
Regards,
Konstantin


More information about the CMake mailing list