Bug #874
Make PROG_ defines in applicationinfo.cpp settable from external location
| Status: | New | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Build Process | |||
| Target version: | 0.14 | |||
| Operating System: | All |
Reported in: | 0.12-devel |
|
Description
The current todo reads:
// Constants. These should be moved to a more 'dynamically changeable'
// place (like an external file loaded through the resources system)
// Should also be overridable through an optional file.
It would be nice to have 'ifndef' wrappers around the defines, e.g:
#ifndef PROG_VERSION
#define PROG_VERSION "0.13-dev" " (" DATE ")";
#endif
so that if the build scripts defined HAVE_CONFIG and defined PROG_VERSION in config.h (included just a few lines above the previous code), then the build scripts could supply the PROG_VERSION value.