Skip to content

Commit

Permalink
[projects] #1026 - update project SConscripts to match.
Browse files Browse the repository at this point in the history
git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/projects/template@7704 b5f69653-2bf5-0310-8201-b0dafb8e1405
  • Loading branch information
jonc125 committed Jan 8, 2010
1 parent e6a399c commit 59f5445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ chaste_libs = [project_name] + comp_deps['core']

# Look for .cpp files within the src folder
os.chdir('../..') # This is so .o files are built in <project>/build/<something>/
files, extra_cpppath = SConsTools.FindSourceFiles('src', includeRoot=True)
files, extra_cpppath = SConsTools.FindSourceFiles(env, 'src', includeRoot=True)

# Look for source files that tests depend on under test/.
testsource, test_cpppath = SConsTools.FindSourceFiles('test', ['data'])
testsource, test_cpppath = SConsTools.FindSourceFiles(env, 'test', ['data'])
extra_cpppath.extend(test_cpppath)
del test_cpppath

Expand Down

0 comments on commit 59f5445

Please sign in to comment.