[CMake] Two phase install?

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Mar 24 05:14:40 EDT 2016


On 2016-03-24 03:59-0000 Scott Aron Bloom wrote:

> That method does NOT work with windows...  And since the visual studio project has the external as a single command, (not sure if its calling nmake or the new build cmd) the proeject is not run in parallel.

I am pretty sure ExternalProject_Add only works with generators
associated with build commands you can run from the command line such
as make, nmake, jom, ninja, etc..  So, for MSVC the way you arrange that is
avoid all the visual studio generators, and instead use one of
"NMake Makefiles", "NMake Makefiles JOM", or "Ninja".

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list