-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add lfc.cmake #195
Add lfc.cmake #195
Conversation
Benchmark results after merging this PR: Benchmark resultsPerformance:PingPongUc: PingPongC: ReactionLatencyUc: ReactionLatencyC: Memory usage:PingPongUc: PingPongC: ReactionLatencyUc: ReactionLatencyC: |
Memory usage after merging this PR will be: Memory Reportaction_empty_test_c
action_microstep_test_c
action_overwrite_test_c
action_test_c
deadline_test_c
delayed_conn_test_c
event_payload_pool_test_c
event_queue_test_c
nanopb_test_c
port_test_c
reaction_queue_test_c
request_shutdown_test_c
startup_test_c
tcp_channel_test_c
timer_test_c
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mind gets twisted reading so much cmake 😵💫, but it looks very good to me.
I like how small and concise the user
file has become :)
A little bit jealous of the function feature :O
Nice work! 💪
Yes, CMake is terrible |
One small question: In the RIOT make based solution I had the issue that just specifying Is the idea in this case to write something like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me.
Yes exactly! In the federated zephyr CMake template I have a |
This PR adds a cmake file that defines three functions that are useful for cmake-based build systems, such as Zephyr/west.
Here is an example using
lfc.cmake
:https://github.com/lf-lang/lf-zephyr-uc-template/blob/d2f00313c58a76f15e40dee08efb545dd21b7bca/CMakeLists.txt