Include external header file

Home Forums BridgePoint/xtUML Usage and Training Include external header file

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
February 22, 2018 at 12:13 pm #6041

gkrister
Member

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,
Krister

February 22, 2018 at 1:49 pm #6042

cort
Keymaster

Hi 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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.