Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Question about building WSDG

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 10 Apr 2018 08:35:37 +0100


On 10 April 2018 at 01:30, Craig Jackson <cejackson51@xxxxxxxxx> wrote:
I'm trying to submit some edits to the WSDG. I'm testing them against the HTML version.

If I change on of the source asciidocs and execute:

C:\development\wsbuild64>msbuild docbook\developer_guide_html.vcxproj

Only developer-guide.xml gets rebuilt.

If I make another change to the same file and run:

C:\development\wsbuild64>msbuild docbook\all_guides.vcxproj

Then the following files get rebuilt:

developer-guide.xml
developer-guide.chm
developer-guide.pdf
user-guide.chm

It also takes quite a while longer.

I have to use /t:rebuild to get it to actually rebuild the chunked html files, which are the ones I'm accustomed to looking at.

I'm still learning Cmake, msbuild, and vcxproj files, but this seems like a bug. Would entering a bug be appropriate?

Craig Jackson



I think some recent build system changes have moved part of the docbook generation to when an installer is built.  Try building with msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj.

--
Graham Bloice