Replies: 1 comment
-
I have moved this to the main branch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Indroduction
The current build mechanism of CombLayer uses cmake via a perl script that builds a single top level directory CMakeLists.txt file. This is not the normal way to do cmake which typically uses a CMakeLists.txt in every directory. The new build aim to correct that.
Firstly : the advantages of avoiding the old system (for CombLayer) are that
Status
I have implemented this (currently in branch CleanCMake) but will be rolling it out to the master branch (soon?). If you pull this branch (or the master branch after a merge) then you run a cmake . command first (because the cmake structure has changed.) then a make. Afterwards, cmake should not be needed unless something very drastic is changed.
To do this transition there are two additional files (that you can ignore), CMakeIndividual.pl which builds a CMakeLists.txt file for a given directory, and model.sh that builds the CMakeLists.txt file (using CMakeIndividual.pl) for almost all the directories except the top directory (which I did by hand).
Obviously, this is a bit of a learning curve so suggestions for improvements are welcome etc.. If you have reasons to not like this change and/or if you try it and it breaks etc.. please say something...
Beta Was this translation helpful? Give feedback.
All reactions