[CMake] Q: How do I _portably_ create a directory in the binary directory

Alan W. Irwin irwin at beluga.phys.uvic.ca
Fri Sep 19 16:40:45 EDT 2008


On 2008-09-19 10:27-0500 kent williams wrote:

> Never mind, I found it in the 'FILE' command...

Also, "cmake -E" has the make_directory subcommand.  You can use that
both at cmake time and also at build time (as part of a custom command).

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); PLplot scientific plotting software
package (plplot.org); 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