-
Notifications
You must be signed in to change notification settings - Fork 7
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
ladislas/feature/cmake link libraries #270
Conversation
ladislas
commented
Jun 3, 2021
- π (cmake): Rename remove lib_ prefix from lib target name
- ποΈ (cmake): Link general purpose libraries to all targets
- π₯ (cmake): Remove redundant linked libraries
97b039d
to
80dc2dd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #270 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 56
Lines 936 936
=========================================
Hits 936 936 Continue to review full report at Codecov.
|
80dc2dd
to
26d8538
Compare
link_libraries( | ||
Utils | ||
LogKit | ||
HelloWorld |
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.
Je ne sais pas si HelloWorld
est pertinent. Les autres sont explicites si on veut les utiliser (LogKit pour les logs, Utils pour des calculs, ...) mais HelloWorld
est vague dans son utilitΓ© parce qu'il n'a pas Γ©voluΓ© depuis le premier jour.
Aujourd'hui il n'affiche aucun message et fait clignoter la LED1 toutes les secondes.
Si il faut l'ajouter en terme de "bon fonctionnement" de la carte, il faudrait
- soit modifier le nom comme
BlinkyLed
, - soit ajouter d'autres choses que la led, comme un
log_info("A message from your board %s --> \"%s\" at %i s\n", MBED_CONF_APP_TARGET_NAME, hello.world, int(t.count() / 1000));
toutes les secondes
Rename lib_HelloWorld to HelloWorld
This change allows all targets to use the aforementioned libraries by just including their header. There is not need to use target_link_libraries anymore.
26d8538
to
a1a3c38
Compare
a1a3c38
to
0799b9e
Compare
Code Climate has analyzed commit 0799b9e and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! |