AlgoPlus icon indicating copy to clipboard operation
AlgoPlus copied to clipboard

better CMake integration

Open spirosmaggioros opened this issue 1 year ago • 1 comments

Each folder should have a CMakeLists txt and then integrate them to the main CMakeLists.txt in root dir.

spirosmaggioros avatar Feb 03 '24 15:02 spirosmaggioros

Using cmake libraires so other CMake project can request components seems the way to go. Having several CMakeLists.txt maybe nice, one per independent sub-projects, like the library, the plugins, ... Inside the library, you may want to have components that can be enabled disabled.

In any case, I would suggest to avoid GLOB completely as this is only evaluated at configure time, so any further changes but developers for example would be omitted.

CharlesGueunet avatar Feb 06 '24 13:02 CharlesGueunet

This is closed as CMake integration is fine for now

spirosmaggioros avatar Aug 22 '24 11:08 spirosmaggioros