Knitschi / CMakeProjectFramework

A C++ project infrastructure.
MIT License
2 stars 1 forks source link

Put CPFCMake and CPFBuildscripts into one package. #6

Open Knitschi opened 6 years ago

Knitschi commented 6 years ago

Motivation Initially the python and cmake code where seperated into two packages. The CMake code however expects the directory structure that is enforced by the python scripts. It is therefore not practical to use CPFCMake without CPFBuildscripts. By putting both packages into one, client projects would only need to add one package instead of two.

Currently I am no sure if the simplification is worth the trouble. An alternative could be to turn the python scripts into cmake scripts to get rid of the python dependency. But that would probably decrease the usability.

Advantages:

Disadvantages:

Knitschi commented 6 years ago

Before we decide if we should do this, we have to see how the copying of the buildscripts is done when the packages are handled by hunter or conan. It may be better then if they are separate packages.

Knitschi commented 5 years ago

I really should think twice if this is necessary. It will be quite some work to join the two.

Pros:

Cons:

Knitschi commented 4 years ago

I think it also makes sense to remove the CPFMachines package and put it in another project. The CPFMachines package probably has significantly less reuse potential than the CPFCMake and CPFBuildscript packages. The functionality is fragile and often requires a lot of implementation knowledge to troubleshoot problems.