SDK mode
Description
FW4SPL uses a very uncommon way to build:
- we use a GLOB_RECURSE to gather all files, which is not recommended by CMake developpers,
- we force developers to build their code inside FW4SPL,
- we don't install header files,
- we need to "add" new repositories through option switches,
Proposal
We would like FW4SPL to build like a regular library. We want people to be able to include/link with our libraries like any other one with a cmake command:
find_package(fw4spl COMPONENTS fwCore fwData fwRuntime)
To achieve this, each library should generate a proper *Config.cmake
However our bundles do not need to be linked since their are plugins.
This is a big refactor, and we must ensure that we lost no existing feature like install/packaging, PCH, etc...
Links / references
- Fred Champ started something few years ago : https://github.com/FredChamp/fw4spl/commits/fw4spl_0.11.0
- CMake documentation: