-
Notifications
You must be signed in to change notification settings - Fork 180
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
Filesystem structure post cmake (inc. testing) #2824
Comments
|
Working towards #2901, I think it'd be good separate Python and C++ code into separate directories. @MRtrix3/mrtrix3-devs unless you have any objections, I will make a PR to implement and merge this on |
I'm happy to proceed with some restructuring, I'm just not sure how much consensus there is on what the target structure is. My own list would be:
The main one for which I'm not sure how much agreement there might be:
|
I think it makes little sense to keep
Yes, I think we can always change this later if needed. |
I think it was the distinction of what got compiled into the singular shared library vs. what didn't.
My original point about "merging |
Yes, I think then it would be appropriate to build everything as a shared library, at least preliminarily. For optimising build times and improving the codebase's design (with CMake in mind), it may be worthwhile to have each folder in |
In recent discussions it sounds like the filesystem structure of the source code is likely to change on
dev
following the transition tocmake
. This includes potentially removing the distinction betweencore/
andsrc/
, though that isn't the focus here.@daljit46 mentioned a preference for having
cpp/
at the root directory, in distinction to the currentpython/
root directory.In mucking around with the content relating to testing, it occurred to me that there we have "
binaries
" and "scripts
" appearing, both in the filesystem structure and in the invocation of specific tests. It may well be the case that adopting the "cpp" vs "python" distinction here would make things more consistent.The text was updated successfully, but these errors were encountered: