[cmake-developers] [CMake 0013159]: Ninja generator + non-CMake Makefile ExternalProject fails.

Mantis Bug Tracker mantis at public.kitware.com
Sun Apr 22 15:14:07 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13159 
====================================================================== 
Reported By:                Matthew McCormick
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13159
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-22 15:14 EDT
Last Modified:              2012-04-22 15:14 EDT
====================================================================== 
Summary:                    Ninja generator + non-CMake Makefile ExternalProject
fails.
Description: 
A Ninja generator is used with a non-CMake External project, then the build
command is not passed in a way that is recognized by Ninja.  It tries to use
'$(MAKE)', but ninja does not like the '$', and $(MAKE) is likely not available?
 The explicit 'make' was replaced in the attached patch.

Steps to Reproduce: 
Configure ITK with Ninja.  Turn on ITK_WRAP_PYTHON.  The failure occurs with the
ExternalProject build of SWIG.

Additional Information: 
patch attached
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-22 15:14 Matthew McCormickNew Issue                                    
2012-04-22 15:14 Matthew McCormickFile Added:
0001-ExternalProject-Fix-build-command-for-Ninja-make.patch                    
======================================================================




More information about the cmake-developers mailing list