homepage › Forums › BridgePoint/xtUML Usage and Training › Include external header file
Tagged: include files
- This topic has 1 reply, 2 voices, and was last updated 6 years, 2 months ago by cort.
-
AuthorPosts
-
February 22, 2018 at 12:13 pm #6041gkristerMember
Hi,
I’m a bit new to xtUML and Bridgepoint and have a question.
I use Bridgepoint to generate C++ code.
I would like in Bridgepoint (or rather in the transformation step I guess) include external header file(s), so the external header files are included into the transformed C++ files., how to do that ?
BR,
KristerFebruary 22, 2018 at 1:49 pm #6042cortKeymasterHi Krister,
There is a simple way to add .c and .h files into your build. Just drop your file into the /gen folder of the project. It will automatically be copied into the /src folder during model translation. It is also possible to modify a generated file by copying a file from /src to /gen and editing it. The files in /gen are copied _on top of_ files in /src after all code is generated.
This process is also described in the BridgePoint Model Compiler Help topic in the tool.
Cort
-
AuthorPosts
- You must be logged in to reply to this topic.