[CMake] "No such file or directory" error when using cmake/swig
Tyler Roscoe
tyler at cryptio.net
Mon Jun 1 11:11:05 EDT 2009
On Mon, Jun 01, 2009 at 09:02:31AM -0500, Gerrick Bivins wrote:
> I thought I could work around this by creating the directory during the
> build but I can't find any commands to do something similar to "mkdir".
Look at cmake -E make_directory.
You can run that as part of your build process with either
execute_process() or, probably better, with an
add_custom_command()/add_custom_target() combo. See the FAQ for details.
tyler
More information about the CMake
mailing list