/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 507 by johnpye, Wed Apr 19 02:44:25 2006 UTC revision 508 by johnpye, Wed Apr 19 04:48:32 2006 UTC
# Line 212  opts.Add( Line 212  opts.Add(
212      ,default_install_assets      ,default_install_assets
213  )  )
214    
215    opts.Add(BoolOption(
216        'DEBUG'
217        ,"Compile source with debugger symbols, eg for use with 'gdb'"
218        ,False
219    ))
220    
221  opts.Add(  opts.Add(
222      'INSTALL_ROOT'      'INSTALL_ROOT'
223      ,'For use by RPM only: location of %{buildroot} during rpmbuild'      ,'For use by RPM only: location of %{buildroot} during rpmbuild'
# Line 726  subst_dict = { Line 732  subst_dict = {
732      , '@PYGTK_ASSETS@':env['PYGTK_ASSETS']      , '@PYGTK_ASSETS@':env['PYGTK_ASSETS']
733      , '@VERSION@':version      , '@VERSION@':version
734      , '@WEBHELPROOT@':'http://pye.dyndns.org/ascend/manual/'      , '@WEBHELPROOT@':'http://pye.dyndns.org/ascend/manual/'
735        , '@ASC_SHLIBSUFFIX@':env['SHLIBSUFFIX']
736        , '@ASC_SHLIBPREFIX@':env['SHLIBPREFIX']
737  }  }
738    
739  if env['WITH_LOCAL_HELP']:  if env['WITH_LOCAL_HELP']:
# Line 1036  env.Append(CPPPATH=['#base/generic']) Line 1044  env.Append(CPPPATH=['#base/generic'])
1044  if gcc_version4:  if gcc_version4:
1045      env.Append(CCFLAGS=['-fvisibility=hidden'])      env.Append(CCFLAGS=['-fvisibility=hidden'])
1046    
1047    if env['DEBUG']:
1048        env.Append(CCFLAGS=['-g'])
1049    
1050  #-------------  #-------------
1051  # TCL/TK GUI  # TCL/TK GUI
1052    

Legend:
Removed from v.507  
changed lines
  Added in v.508

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22