Merge pull request #252 from SHADE-DP/Fix-RemoveDocGen
Disabled xmldoc build, admin mode no longer required to build the engine
This commit is contained in:
commit
31d88f3691
|
@ -53,15 +53,16 @@ project "SHADE_CSharp"
|
||||||
function configElementCS(cfg)
|
function configElementCS(cfg)
|
||||||
_p(2,'<Configurations>Debug;Release;Publish</Configurations>')
|
_p(2,'<Configurations>Debug;Release;Publish</Configurations>')
|
||||||
end
|
end
|
||||||
function docsElementCS(cfg)
|
-- function docsElementCS(cfg)
|
||||||
_p(2,'<GenerateDocumentationFile>true</GenerateDocumentationFile>')
|
-- _p(2,'<GenerateDocumentationFile>true</GenerateDocumentationFile>')
|
||||||
end
|
-- end
|
||||||
function docsLocationElementCS(cfg)
|
-- function docsLocationElementCS(cfg)
|
||||||
_p(2,'<DocumentationFile>$(OutDir)</DocumentationFile>')
|
-- _p(2,'<DocumentationFile>$(OutDir)</DocumentationFile>')
|
||||||
end
|
-- end
|
||||||
|
|
||||||
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg)
|
premake.override(premake.vstudio.cs2005.elements, "projectProperties", function (oldfn, cfg)
|
||||||
return table.join(oldfn(cfg), {
|
return table.join(oldfn(cfg), {
|
||||||
platformsElementCS, configElementCS, docsElementCS, docsLocationElementCS,
|
-- platformsElementCS, configElementCS, docsElementCS, docsLocationElementCS,
|
||||||
|
platformsElementCS, configElementCS,
|
||||||
})
|
})
|
||||||
end)
|
end)
|
|
@ -119,14 +119,14 @@ project "SHADE_Managed"
|
||||||
links{"librttr_core.lib"}
|
links{"librttr_core.lib"}
|
||||||
links{"fmodstudio_vc.lib", "fmod_vc.lib"}
|
links{"fmodstudio_vc.lib", "fmod_vc.lib"}
|
||||||
|
|
||||||
require "vstudio"
|
-- require "vstudio"
|
||||||
|
|
||||||
function docsElementCPP(cfg)
|
-- function docsElementCPP(cfg)
|
||||||
_p(3,'<GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>')
|
-- _p(3,'<GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>')
|
||||||
end
|
-- end
|
||||||
|
|
||||||
premake.override(premake.vstudio.vc2010.elements, "clCompile", function (oldfn, cfg)
|
-- premake.override(premake.vstudio.vc2010.elements, "clCompile", function (oldfn, cfg)
|
||||||
return table.join(oldfn(cfg), {
|
-- return table.join(oldfn(cfg), {
|
||||||
docsElementCPP,
|
-- docsElementCPP,
|
||||||
})
|
-- })
|
||||||
end)
|
-- end)
|
Loading…
Reference in New Issue