![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: #includes to external files (Rhapsody 6.1 C) Topic Summary: Created On: 4-Apr-2007 07:50 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi everyone,
I like to do the following thing in Rhapsody for C 6.1 I do have an external file (or header file) describing an interface for example. So I reverse engineered this file into rhapsody and checked the property "use as external". Now I moved this included file somewhere into the model to achieve our common model package structure. If I now define a usage-dependency to that file it will generate a #include statement which includes the whole path (corresponding the model package structure). Is there any possibility to define the "real" location of an external file, because in our case the model package structure does not match with the folder structure of our build process. Thank you! Best regards Jens Konnertz |
|
![]() |
|
![]() |
|
[QUOTE=Jens.Konnertz.ICS@eads.com]Hi everyone,
Is there any possibility to define the "real" location of an external file, because in our case the model package structure does not match with the folder structure of our build process. [/QUOTE] The "File" property under CG.<ModelElement> should be what you are looking for. |
|
![]() |
|
![]() |
|
OK! This will work if you do not set the "GenerateDirectoryPerModelComponent" property.
But if you do not set this property, then you will receive a very flat generation output, which is no good (especially if you have a lot of files). Thanks any way. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.