Does anybody know how to change the compile-order in VStudio c++ ?
(it's a jungle...

The reason is, that i have a header which contains constants.
My main-modul gets the definitions while all other moduls just getting
a declaration.
All works fine, but when i want to use a switch-command, suddenly the
error occurs "unknown constant" (something like this).
The reason for this is that at compile time the switch-statement needs the definition (declaration is not enough).
So all moduls compiled before my main-modul can use switch, all others
i have to use if..else - statement.
workarounds i dont want:
- using if..else if..
- function pointers
- and of course not giving each modul the same data in a static way...
(hope you know what i mean with the last point, i have to train my english

so simple, clean solution is to change the compile order , but how ?
(perhaps i am just to blind,stupid or something else, i searched for hours
now and cant find out how to do)
thx a lot