-
Notifications
You must be signed in to change notification settings - Fork 26
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
GATB-Core GitHub repo cannot be used in a CMake external project #6
Comments
Regarding how to integrate gatb-core as a GIT submodule, But you're right, it would make more sense to have CMakeLists.txt in the root of the repo. However this is going to be a major change. Patrick, do you think this could go along with your current reorganization? |
The solution used in bcalm is not fully equivalent. In case of a git submodule, the commit is fixed (however, there exist some tricky solutions like |
Well, we do not schedule an update of gatb-core directory during the current reorganization of gatb-tools. Nevertheless, we would take into account comments from Karel to figure out how to facilitate the use of gatb-core as an external submodule from github ; but keep in mind that we have to take into account that gatb-core and gatb-tools are officially hosted on the Inria Forge, and we have to be compliant (first) to that source code hosting system. |
Closing this issue 2 years later; the status in my opinion is as follows: there are no structural changes planned in gatb-core in the foreseeable future. Our efforts will focus on distributing some of components in a more lightweight fashion. |
Hello,
since the root directory of this project does not contain any
CMakeLists.txt
, it cannot be used as an external project (or it is extremely complicated, see http://stackoverflow.com/questions/30028117/cmake-externalproject-how-to-specify-relative-path-to-the-root-cmakelists-txt).Solution: https://github.com/GATB/gatb-core/tree/master/gatb-core should be the root directory.
Official GATB-Core releases are correct so I can define an URL instead of a GitHub repository (see, e.g., https://github.com/karel-brinda/cmake-ext/blob/master/gatbcore.cmake and a full working example at https://github.com/karel-brinda/cmake-ext-test). Nevertheless, I prefer to use GitHub repositories when it is possible.
Thanks.
The text was updated successfully, but these errors were encountered: