-
Notifications
You must be signed in to change notification settings - Fork 215
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
Mirror install tree layout in build tree #1776
Comments
A very cheap way to do that would be to create two symlinks in cmake:
This may or may not cause various instances of directory-traversal logic to have a fit of course. |
@letmaik just to check, it this just |
|
Ok, so, @jumaffre pointed out that we could tell cmake to structure the build dir similarly to install: https://stackoverflow.com/questions/6594796/how-do-i-make-cmake-output-into-a-bin-dir/6595001#6595001 A couple of thoughts though:
I am not convinced that this is a reasonable improvement over the status quo, especially because of 2. Keeping a moderate (<10loc) amount of logic in |
I don't mind how CCF/samples/apps/forum/test/util.ts Lines 31 to 43 in 57a990f
|
I don't this outweighs pushing a cruel and unusual restriction on build and install matching on all downstream projects. It's nice that we auto-compute this path for users of that sample rather than tell in the doc to set their $PATH when running a sample from the build/ directory, but it's not worth such an extensive change. |
This will simplify a bunch of scripts that have path detection logic for working against an install vs build/dev tree. A concrete example is the invocation of
sandbox.sh
and related arguments like--binary-dir
.The text was updated successfully, but these errors were encountered: