-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement 'no symbolic links' option #423
Comments
The effect I want to have is this
but I don't want it always; only if an appropriate argument is specified on the command line |
Modern-ish Windows does support symlinks. If it didn't, you'd either get copies, or you'd get a build error. But it appears, the Windows system you are developing for does support symlinks, because the build succeeds and you get symlinks. I googled a bit, and apparently rsync can resolve symlinks on Windows and is available via Cygwin or Git Bash. |
BTW, how are you building Boost? To my knowledge |
My build process builds boost by running |
|
Yes, install can do what I want. Closing. |
Make sure you completed the following tasks
Environment and version details
b2 -v
andb2 --version
(I have a Linux development workstation but I am developing for a Windows target)
Describe your use case
I have a cmake-based build/install process which copies the header and library file trees. This used to work, but since the feature was introduced which makes symbolic links instead of copying the files, my header tree was left with dangling symlinks instead of the header files.
On Linux and Unix platforms, this is fixable by using 'tar -h' to copy the files.
On Windows,
b2
claims that symbolic links are supported and the build of BOOST completes successfully, but I don't think the Windows file system actually supports symbolic links and I haven't got access to atar
command (and thetar
built in to cmake doesn't support a-h
flag).If a project of yours is blocked on this feature, please, mention it explicitly.
Describe the solution you'd like
I would like an option to
b2
... call itnosymlink
... to turn off the new sym-linking behaviour and revert to making copies of the files instead.Alternatives, if applicable
A clear and concise description of any alternative solutions or features
you've managed to come up with, if any.
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: