plugins/AMBuilder
changeset 4187 e70b65bc70b9
parent 4186 c6a694ae8566
     1.1 --- a/plugins/AMBuilder	Mon Dec 30 17:50:59 2013 -0500
     1.2 +++ b/plugins/AMBuilder	Mon Dec 30 17:50:59 2013 -0500
     1.3 @@ -30,6 +30,8 @@
     1.4  spcomp_argv = [
     1.5    os.path.join(builder.buildPath, SM.spcomp.binary.path),
     1.6    'SM_GENERATED_BUILD=',
     1.7 +  '-i' + os.path.relpath(os.path.join(builder.buildPath, 'includes'),
     1.8 +                         os.path.join(builder.buildPath, builder.buildFolder)),
     1.9    '-i' + os.path.relpath(os.path.join(builder.sourcePath, 'plugins', 'include'),
    1.10                           os.path.join(builder.buildPath, builder.buildFolder)),
    1.11    '-h',
    1.12 @@ -48,7 +50,8 @@
    1.13      inputs = inputs,
    1.14      argv = argv,
    1.15      outputs = outputs,
    1.16 -    dep_type = 'msvc'
    1.17 +    dep_type = 'msvc',
    1.18 +    weak_inputs = SM.generated_headers
    1.19    )
    1.20    SM.smx_files[smx_file] = smx_entry
    1.21