tkem / fsmlite

Lightweight finite state machine framework for C++11
MIT License
156 stars 25 forks source link

Feature/Add CMake support #28

Closed hugolm84 closed 3 years ago

hugolm84 commented 3 years ago

This PR aims to add CMake support and also provides an example on how to compile using a toolchain for arm-none-eabi.

Tested on Ubuntu 18 and Windows 10, closes #27

tkem commented 3 years ago

@hugolm84: Sorry for the delay, I kind of lost track of this completely, but I should be able to find some time for this soon... Also thanks for giving this a try in Visual Studio, I'll also look into this.

tkem commented 3 years ago

@hugolm84 Thanks for contributing! It sure taught me a lot about "modern CMake" ;-) Still, I decided to keep automake as my primary build system for now, since I feel more comfortable with it. However, I added some very basic CMake support based on your contributions, to also be able to build and run unit tests on Windows with MSVC via GitHub Actions. Wouldn't have been able to do so without your guidance for sure... Please feel free to comment on my humble attempts - I deliberately left out the "install" and cross-compilation support, until I can get my head around this...

hugolm84 commented 3 years ago

Hi!

Great to hear it was useful in some way!

Best

On Mon, Aug 2, 2021 at 10:29 PM Thomas Kemmer @.***> wrote:

@hugolm84 https://github.com/hugolm84 Thanks for contributing! It sure taught me a lot about "modern CMake" ;-) Still, I decided to keep automake as my primary build system for now, since I feel more comfortable with it. However, I added some very basic CMake support based on your contributions, to also be able to build and run unit tests on Windows with MSVC via GitHub Actions. Wouldn't have been able to do so without your guidance for sure... Please feel free to comment on my humble attempts - I deliberately left out the "install" and cross-compilation support, until I can get my head around this...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tkem/fsmlite/pull/28#issuecomment-891312092, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGTWGED7UKQZAMXDCJ5WT3T2353HANCNFSM4T3ZOHLQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .