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

Simple documentation on how to use autogenerated code that uses BlockFactory with CMake #80

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

traversaro
Copy link
Member

The basic steps are simple, I think the existing example have a bit of complexity related to the generic problems of compiling autogenerated Simulink code that is not required for people that have their own CMake infrastructure to compile autogenerated Simulink code, so let's just document the essentials required to compile the code, that is calling find_package(BlockFactory COMPONENTS SimulinkCoder REQUIRED) and then target_link_libraries(<targetwithautogeneratecode> PRIVATE BlockFactory::SimulinkCoder).

@traversaro
Copy link
Member Author

fyi @mfussi66 @DavideBarbone @Gio-DS

@traversaro
Copy link
Member Author

@mfussi66 @DavideBarbone @Gio-DS feel free to approve if the documentation make sense to you, thanks!

@mfussi66
Copy link
Member

Clear enough for me, thx!

@traversaro traversaro merged commit 04e2ae2 into master Sep 23, 2024
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.

4 participants