To add a use message to your application when using a standard (non-QNX) C/C++ project:
-
In the Project Explorer view, open your project's Makefile.
-
Find the rule you use to link your .o files into the final executable.
-
Add the following command to the rule after the link command:
usemsg $@ message.use
Here, message.use is the name of the file containing the use message.
-
Build your project as usual to include the use message.