pnlbwh / ukftractography

Other
25 stars 27 forks source link

CMake build improvements + some extra #146

Closed rmukh closed 1 year ago

rmukh commented 2 years ago

Avoid rebuilding all packages with every rebuild. Only UKFtracrography module files will be recompiled on the build command. So, on a single core, the rebuild time is reduced from an hour to a few minutes (on my old laptop). My idea was to improve the maintainability of the repository and improve bug fixes time. In case external libraries have to be rebuilt, one can always pass the FORCE_EXTERNAL_BUILDS option as ON.

Additionally:

I think it can be merged after #143 with some edits (inserts to the different lines mostly). This PR was tested on GCC and MSVC.