[CMake] Accessing data

Todd Greer TGreer at affinegy.com
Thu Mar 21 12:28:48 EDT 2013


Eric Noulard said:

> Instead of copying you could use
> cmake -E create_symlink
> but this won't work on Windows.

If building on Windows is required, you could make a symlink, hardlink, or junction point. If on Vista or later, look at the command mklink. Symlinks require admin privileges, but I've read that's not true of hardlinks or junction points.

If you have to support building on the FAT filesystem, none of that will work.

--
Todd Greer
Principal Scientist, Affinegy, Inc.




More information about the CMake mailing list