Skip to content

Commit

Permalink
Slight reordering in SConstruct
Browse files Browse the repository at this point in the history
Seems to address the problem reported in issue #97 for which we've
implemented workarounds so far (commits df29d2b and 106ab22)
  • Loading branch information
hansenjo committed Jan 24, 2017
1 parent 106ab22 commit 34b37ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import commands
import SCons
import time
import subprocess
import configure

def rootcint(target,source,env):
"""Executes the ROOT dictionary generator over a list of headers."""
Expand Down Expand Up @@ -39,6 +40,8 @@ print('!!! Building the Hall A analyzer and libraries with SCons requires')
print('!!! SCons version 2.1.0 or newer.')
EnsureSConsVersion(2,1,0)

configure.config(baseenv,ARGUMENTS)

####### Hall A Build Environment #############
#
baseenv.Append(MAIN_DIR = Dir('.').abspath)
Expand Down Expand Up @@ -155,9 +158,6 @@ baseenv.Append(BUILDERS = {'RootCint': bld})

######## Configure Section #######

import configure
configure.config(baseenv,ARGUMENTS)

Export('baseenv')

conf = Configure(baseenv)
Expand Down

0 comments on commit 34b37ed

Please sign in to comment.