Changeset 17307
- Timestamp:
- 10/22/13 21:11:13 (11 years ago)
- Location:
- trunk/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/macros/rootlogon.C
r15269 r17307 108 108 void rootlogon() 109 109 { 110 // This is a workaround to make axis behave as they 111 // are UTC and not local time 112 // gSystem->Setenv("TZ", "UTC"); 113 110 114 cout << endl; 111 115 … … 184 188 TString lib(gSystem->GetLinkedLibs()); 185 189 186 opt += " -D__MARS__ -DHAVE_ZLIB"; 187 opt += " -std=c++0x "; 188 189 dbg += " -D__MARS__ -DHAVE_ZLIB"; 190 dbg += " -std=c++0x "; 190 TString add = " -std=c++0x"; 191 add += " -D__MARS__"; 192 add += " -DHAVE_ZLIB"; 193 add += " -DPACKAGE_NAME='\""+MARS::GetPackageName()+"\"'"; 194 add += " -DPACKAGE_VERSION='\""+MARS::GetPackageName()+"\"'"; 195 add += " -DREVISION='\""+MARS::GetRevision()+"\"'"; 196 197 opt += add; 198 dbg += add; 191 199 192 200 lib += " -lnova -lz"; -
trunk/Mars/mbase/MAGIC.cc
r9552 r17307 69 69 return false; 70 70 } 71 72 TString MARS::GetPackageName() { return PACKAGE_NAME; } 73 TString MARS::GetPackageVersion() { return PACKAGE_VERSION; } 74 TString MARS::GetRevision() { return REVISION; } -
trunk/Mars/mbase/MAGIC.h
r8958 r17307 38 38 { 39 39 bool CheckRootVer(); 40 TString GetPackageName(); 41 TString GetPackageVersion(); 42 TString GetRevision(); 40 43 } 41 44
Note:
See TracChangeset
for help on using the changeset viewer.