Created
August 24, 2017 16:38
-
-
Save simon-brooke/d50f42231a674da18bf93b905d992912 to your computer and use it in GitHub Desktop.
How to build documentation with Doxygen from an msbuild script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PropertyGroup> | |
<DocDirectory>..\Documentation\</DocDirectory> | |
<Doxyfile>..\Doxyfile</Doxyfile> | |
</PropertyGroup> | |
<Target Name="Doxygen"> | |
<MakeDir Directories="$(DocDirectory)" /> | |
<Exec Command="doxygen.exe $(Doxyfile)" /> | |
</Target> | |
<Target Name="DoxyClean"> | |
<RemoveDir Directories="$(DocDirectory)\html" /> | |
<RemoveDir Directories="$(DocDirectory)\latex" /> | |
<Delete Files="$(DocDirectory)\*.tmp" /> | |
</Target> | |
<PropertyGroup> | |
<BuildDependsOn> | |
$(BuildDependsOn); | |
Doxygen | |
</BuildDependsOn> | |
</PropertyGroup> | |
<PropertyGroup> | |
<CleanDependsOn> | |
$(CleanDependsOn); | |
DoxyClean | |
</CleanDependsOn> | |
</PropertyGroup> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I loathe the Microsoft toolchain. But if one has to use it one might as well get good at it.