Added test for the ScanForModuleDependencies flag.
<OpenMPSupport>false</OpenMPSupport>
]]
end
+
+--
+-- Check ClCompile for ScanForModuleDependencies
+--
+
+ function suite.SupportScanForModuleDependenciesOn()
+ flags { "ScanForModuleDependencies" }
+ prepare()
+ test.capture [[
+<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <ScanSourceForModuleDependencies>true</ScanSourceForModuleDependencies>
+ ]]
+ end
+
+ function suite.SupportScanForModuleDependenciesOff()
+ flags { "ScanForModuleDependencies" }
+ prepare()
+ test.capture [[
+<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ ]]
+ end
