oceanofthelost
oceanofthelost
> I though about prefixing every switch with `SRecord_`. rationale: srecord itself is an LGPL3 library, which probably someone wants to integrate via CMake's `FetchContent`. For that case it's better...
I am for disabling documentation generation during debug build. I find for projects I work with I use debug when iterating a design and use release when finished and need...
> A question: do you really want to disable the documentation, or is it enough to remove the `ALL` for your use case? How about such a default: the documentation...
Another option, which I feel is a nice middle ground, would be the following: ``` option(${PROJECT_NAME}_ENABLE_DOCUMENTATION "Enable building documentation" ON) ``` Here all options for SRecord would be based upon...
I can try and find alternative links for each case, unless someone has existing copies. Should external references live under the etc folder or an external folder? This would remove...
Using Wayback Machine 1. [srec_emon52](https://web.archive.org/web/20020313021908/http://sbprojects.fol.nl/knowledge/fileformats/emon52.htm) 2. [srec_fpc](https://web.archive.org/web/20020620171514/http://sbprojects.fol.nl/knowledge/fileformats/fpc.htm) 3. [srec_signetics](https://web.archive.org/web/20020620171936/http://sbprojects.fol.nl/knowledge/fileformats/signetics.htm)
I would agree having some kind of link checker on a periodic basis would be beneficial to make sure links are still valid.
Something to consider is what generators to support. CMake supports single-target (Ninja, Makefile) and multi-target (XCode, VSCode). I believe SRecord should support only single-target, which will then simplify some CMake...
> Keen to know more. Why would you suggest excluding multi-target builds? After doing some more digging I mixed up multi config and multi target builds. Two generators, XCode and...
I prototyped an updated CMake which addresses some of the improvements. If your interested can take a look within my [fork of the repository](https://github.com/oceanofthelost/srecord/tree/feature/updated-cmake-build).