Ignore:
Timestamp:
Oct 22, 2007 1:45:45 AM (12 years ago)
Author:
kmartin
Message:

put in functionality to skip third party projects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/testScripts/nightlyBuild.py

    r658 r659  
    116116    #---------------------------------------------------------------------
    117117    buildtypes=NBprojectConfig.PROJECT_CONFIG_LINES[p]
     118
     119    print buildtypes
     120   
    118121    for buildType, configLine in buildtypes.iteritems() :
    119122   
     
    124127      vpathDir=projectVersion[0]+'-'+buildType
    125128      configOptions='-C '+NBuserConfig.CONFIGURE_FLAGS+' '+configLine
     129
     130      print 'HERE ARE THE CONFIG OPTIONS SO FAR'
     131      print configOptions
     132
    126133
    127134#      if "ThirdParty" in buildType :
     
    136143#            skipOptions+=' ThirdParty/'+d
    137144#          configOptions+=' COIN_SKIP_PROJECTS="'+skipOptions+'"'
    138      
     145
     146# Added by Kipp -- Sunday, Oct 21
     147      print buildType
     148      print configLine
     149      if "NoThirdParty" in buildType :
     150        skipOptions=''
     151        thirdPartyBaseDir=os.path.join(projectCheckOutDir,'ThirdParty')
     152        if os.path.isdir(thirdPartyBaseDir) :
     153          thirdPartyDirs = os.listdir(thirdPartyBaseDir)
     154          for d in thirdPartyDirs :
     155            skipOptions+=' ThirdParty/'+d
     156        configOptions+=' COIN_SKIP_PROJECTS="'+skipOptions+'"'
     157# End Kipp
     158
     159
    139160      fullVpathDir = os.path.join(projectBaseDir,vpathDir)
    140161      #TODO: if (MAKE_CLEAN) : distutils.dir_util.remove_tree(fullVpathDir)
Note: See TracChangeset for help on using the changeset viewer.