How to import the header file with the preprocessor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-02-16 10:50 PM
Thank you for helping.
environment:
STM32CubeIDE Ver1.5.1
Please tell me how to include hoge.h in the preprocessor without explicitly saying #include" hoge.h ".
Thank you.
Labels:
- Labels:
-
STM32CubeIDE
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-02-23 5:01 AM
Why would you want to do that?
#include is precisely the mechanism to use to include a header file - that is its entire purpose & raison d'etre.
If you want symbols to be defined globally for the project, use the 'Paths and Symbols' in the Project settings:
A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
A complex system designed from scratch never works and cannot be patched up to make it work.
