Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fypp support #18

Merged
merged 14 commits into from
Aug 30, 2024
Merged

Fypp support #18

merged 14 commits into from
Aug 30, 2024

Conversation

aradi
Copy link
Member

@aradi aradi commented Jul 3, 2024

Offers improved user experience for projects which use Fypp as pre-processor:

  • Automatic test registration
  • CHECK() macro calling the check() routine with automatic file name and line nr. information
  • ASSERT() macro calling CHECK() and returning from the test, if the check failed.

The approach is currently only tested with CMake due to the lack of proper support for preprocessing in the other build systems.

Todo

  • Make final decision on macro names and arguments.
  • Install fypp include file when project is installed
  • Enable CMake projects using Fortuno to deduce the location of the include file's folder somehow (via a fake target)

@aradi aradi force-pushed the fypp branch 2 times, most recently from 4ebe599 to 933db43 Compare August 9, 2024 08:48
@aradi aradi merged commit eec759f into fortuno-repos:main Aug 30, 2024
3 checks passed
@aradi aradi deleted the fypp branch August 30, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant