diff options
Diffstat (limited to 'src/actions/vstudio/vs2010_vcxproj.lua')
-rw-r--r-- | src/actions/vstudio/vs2010_vcxproj.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/vstudio/vs2010_vcxproj.lua b/src/actions/vstudio/vs2010_vcxproj.lua index c776b30..04deecd 100644 --- a/src/actions/vstudio/vs2010_vcxproj.lua +++ b/src/actions/vstudio/vs2010_vcxproj.lua @@ -526,6 +526,8 @@ end end + vc2010.individualSourceFileOptions = nil + function vc2010.individualSourceFile(prj, config_mappings, file) local configs = prj.solution.vstudio_configs local translatedpath = path.translate(file.name, "\\") @@ -539,6 +541,9 @@ if path.iscfile(file.name) ~= premake.project.iscproject(prj) then _p(3,'<CompileAs>%s</CompileAs>', iif(path.iscfile(file.name), 'CompileAsC', 'CompileAsCpp')) end + if (type(vc2010.individualSourceFileOptions) == 'function') then + vc2010.individualSourceFileOptions(prj, config_mappings, file) + end _p(2,'</ClCompile>') end |