I may be a bit behind on this, but is there special treatment
of directories called 'src' and 'build'? If so, I can see how that can lead to
some confusion [....]
No - it is not that bad. The src directory will always be ${ROOT}/${module} -
so that is simple. The stem of the build directory is determined from pathname
introspection based on ${PROJECT_BINARY_DIR}; I have not checked that in detail
- but as far as I can tell this would imply that all your build directories
would have to have the same stem; i.e. if you are building opm-autodiff in:
${ARBITRARY_PATH}/cool-build
The build system will search for opm-core build output in
${ADVANCED_HEURISTICS}/cool-build. The main problem as I see it is that the
build system search features are unnecessary complicated when they must be able
to find libraries and headers both installed locations and source & build
combinations.
> 1. Check out the source modules the way you want.
> 2. When configuring pass the options
> -DBUILD_OUTPUT=/path/to/build/output -DOPM_ROOT=/path/to/build/output (could
> even sane "sibling-like" defaults here)
I assume that you build in /path/to/build/opm-core-build etc.?
Ehhh - that I did not really understand. With this suggestion (which admittedly
is still just a suggestion ...) you can clone the git repositories wherever you
want, and also create build directories in arbitrary locations; the feature
which would bind these modules together would be that they were all configured
with the new -DBUILD_OUTPUT=/path/to/output switch.
That seems quite reasonable, but do I have to 'make install' to see changes in
downstream modules?
No - that would be the whole point; no "make install" required
_______________________________________________
Opm mailing list
[email protected]<mailto:[email protected]>
http://www.opm-project.org/mailman/listinfo/opm
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm