Author Topic: AutoVersioning  (Read 5046 times)

Offline Schyfis

  • Single posting newcomer
  • *
  • Posts: 6
AutoVersioning
« on: June 19, 2009, 05:30:00 am »
I came across an interesting issue with the AutoVersioning plugin. When you have a project that uses AutoVersioning and links against a library that also uses AutoVersioning, you're out of luck if you want to display info such as version or date from both the project and the library.

This is because the header guards that the plugin generates are stuck as "VERSION_H" regardless of the file name you enter (the name of the namespace is unchangeable as well). I'm trying to fix this, but I keep getting the error "This file should only be included when using Microsoft Visual C++" when I try to compile the plugin, followed by a bunch of "xxxx should be defined" errors.
What am I doing wrong?
« Last Edit: June 19, 2009, 05:33:16 am by Schyfis »