On 12/11/2015 7:24 AM, Igor Sobinov wrote:
Hello Bill,

yes, make release is a custom command but that's not important.
I do the following:
# cd /home/igor/build_root/release_target
# make release -j5
Yes, it is important, it is the reason it is not working. The custom command needs to use $(MAKE) and not make to call make or you will get this error. Child make calls need environment variables to get parallel builds to work. The MAKE env var is used to pass them around.

-Bill

--

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