Jump to content
OMRON Forums

IDE version


daves

Recommended Posts

Is it possible to get running code to report the version of the IDE used to build the project? Something like the following lines in the code:

 

global IDEVersionA = IDE_VERSION_A;

global IDEVersionB = IDE_VERSION_B;

global IDEVersionC = IDE_VERSION_C;

global IDEVersionD = IDE_VERSION_D;

 

where IDE_VERSION_A,B,C,D are #defined by the installed IDE as say 2,3,0,40

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

But that will not dynamically adjust to the actual IDE version.

 

If I build the project with your suggestion in a 2.0.3.40 IDE then great, but when someone running 2.0.0.25 pulls the code from SVN and builds and downloads the project P1-4 will not report the IDE she used. Unless she changes the code, then we have a version control nightmare.

 

I want RUNNING code to tell me what downloaded it.

 

Like:

__GNUC__

__GNUC_MINOR__

__GNUC_PATCHLEVEL__

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.

×
×
  • Create New...