Changeset 17307 for trunk/Mars/macros


Ignore:
Timestamp:
10/22/13 21:11:13 (11 years ago)
Author:
tbretz
Message:
Added wrappers for some defines to the MARS namespace to make that available in rootlogon to pipe that through AcLiC as define to ofits.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/macros/rootlogon.C

    r15269 r17307  
    108108void rootlogon()
    109109{
     110    // This is a workaround to make axis behave as they
     111    // are UTC and not local time
     112    //    gSystem->Setenv("TZ", "UTC");
     113
    110114    cout << endl;
    111115
     
    184188    TString lib(gSystem->GetLinkedLibs());
    185189
    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;
    191199
    192200    lib += " -lnova -lz";
Note: See TracChangeset for help on using the changeset viewer.