diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-04-15 04:21:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:15:43 +0300 |
commit | f69b681af4f8f51d3424ab857b5f1273432a8b06 (patch) | |
tree | 3ae8514021524e5f57c53a22cbb6814ca8be2a8a /defines.hpp | |
parent | 47c3116de39560dd02488cf77fb2c9403c5094e1 (diff) |
Added production configuration
It is enabled by adding CONFIG+=production in qmake command line
Use OMIM_PRODUCTION define in the code
Diffstat (limited to 'defines.hpp')
-rw-r--r-- | defines.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/defines.hpp b/defines.hpp index 38149a7319..062359e1e9 100644 --- a/defines.hpp +++ b/defines.hpp @@ -10,11 +10,15 @@ #define COUNTRIES_FILE "countries.txt" #define DATA_UPDATE_FILE "maps.update" #define BINARY_UPDATE_FILE "binary.update" -#define UPDATE_BASE_URL "http://data.mapswithme.com/" + +#ifdef OMIM_PRODUCTION + #define UPDATE_BASE_URL "http://data.mapswithme.com/" +#else + #define UPDATE_BASE_URL "http://melnichek.ath.cx:34568/maps/" +#endif #define WORLD_FILE_NAME "World" #define SETTINGS_FILE_NAME "settings.ini" - #define DEFAULT_AUTO_UPDATES_ENABLED true |