Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: Conditional CPP2SDLOPTIONS
Topic Summary:
Created On: 6-Sep-2005 13:34
Status: Read Only
Rate this topic Rate this topic
Terrible Terrible
Poor Poor
Fair Fair
Good Good
Very Good Very Good
Excellent Excellent
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 6-Sep-2005 13:34
User is offline View Users Profile Print this message


Helge Tepstad

Posts: 1
Joined: 24-Jun-2003

Hi,

Does anybody know if it is possible to choose between different include directories in the Import Specification?? (Telelogic Tau 4.6)

What I would like, is something like this in the import spec:
#ifndef BNF_LOCAL
CPP2SDLOPTIONS { -cppoptions "-I../include" }
#else
CPP2SDLOPTIONS { -cppoptions "-I../include_local_bnf" }
#endif

But, with this solution CPP2SDLOPTIONS { -cppoptions "-I../include_local_bnf" } is always set even if BNF_LOCAL is not set. The .is seems to ignore the #ifdef
I have also tried to have the #ifdef inside the { } for the CPP2SDLOPTIONS without any luck.

Any suggestions would be appreciated.

BR
/ Helge
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 0 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.