Hi Bill,
On 05/31/2015 11:32 AM, Bill Somerville wrote:
> On 31/05/2015 18:21, KI7MT wrote:
>> HI Joe, Bill,
> Hi Greg & Joe,
>>
>> This was intentional, as the build-wsjtx doc command was intended for
>> quick turns while writing documents.
>>
>> I can add the {VERSION} information to the output file name if desired,
>> as it can easily be pulled from the Version file
>>
>> Commands being used are (for WIndows):
>>
>> :: Configure the Build Folder
>> cmake -G "MinGW Makefiles" -Wno-dev -D CMAKE_TOOLCHAIN_FILE=%tchain% ^
>> -D CMAKE_COLOR_MAKEFILE=OFF ^
>> -D CMAKE_BUILD_TYPE=Release ^
>> -D CMAKE_INSTALL_PREFIX=%ugdir% %srcd%/%app_name%/doc
>>
>> :: Build the Doc:
>> cmake --build . --target docs -- -j %JJ%
> That's not what Joe was asking about. The CMake build generates a file
> wsjtx.conf in the build tree doc directory that should look something
> like (typos included - Hi!):
I know CMake generates this file. What is the desired result?
>
> # This is an asciidoc configuraiton file which is processed by CMake
> # as a configuration file to substitute variables
> [attributes]
> themedir=C:/Users/bill/src/wsjt/doc/theme/wsjt
> VERSION_MAJOR=1
> VERSION_MINOR=6
> VERSION_PATCH=0-devel
> VERSION=1.6.0-devel
That is the file I've been using on Linux, and was what I was referring
too above.
>
> this file is passed to asciidoc as a configuration file when it is run
> later in the build and therefore the various attributes should get
> expanded in the asciidoc generation.
It doesn't seem to be working that way, at least, not when building just
the documentation. It works fine when building the entire package.
>
> Somehow this is not happening. The first thing to check is that the file
> has been generated correctly by CMake. I can't reproduce the issue so
> perhaps Joe or you if you have the same problem can reply with the
> contents of the conf file.
I'll look into it a bit more this evening, as I have a church function
to attend so won't get to it for a while.
>
> BTW your commands look OK except I don't see why you would use a
> different install location for building the docs target. The whole point
> of building the documentation as part of the product is not to separate it.
This is to facilitate separating or not, each build by App Version &&
SVN number. That feature has not been implemented in Windows, but is the
default settings on Linux.
I don't see what the problem is here. If we need the version info in the
output document, all one needs to do is build the full package, which we
all know is a very slow affair on Windows. Building the Debug version is
a bit faster, but still far to slow for quick documentation turns while
writing stuff up.
>>
>> 73's
>> Greg, KI7MT
> 73
> Bill
> G4WJS.
>>
>> On 05/31/2015 09:03 AM, Bill Somerville wrote:
>>> On 31/05/2015 15:51, Joe Taylor wrote:
>>>> Hi Greg,
>>> Hi Joe & Greg,
>>>> This may not be easy to fix -- and it's not critically important anyway
>>>> -- but I notice that building the User Guide with your new "docs only"
>>>> commands leave the macro VERSION undefined. As a consequence, at
>>>> various placed the resulting html file has nothing present where one
>>>> expects to see "1.6.0", or some such.
>>> That's strange. At first I though this was a CMake dependency issue but
>>> I can't reproduce the issue even on a freshly configured build tree and
>>> only building the docs target.
>>>
>>> Greg, exactly what commands are you using to configure and build the
>>> docs target in the JTSDK?
>>>> -- Joe
>>> 73
>>> Bill
>>> G4WJS.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
--
----------------------------------------------------------------
Launchpad....: https://launchpad.net/~ki7mt
Ubuntu Hams..: https://launchpad.net/~ubuntu-hams-devel
Debian Hams..: https://alioth.debian.org/projects/pkg-hamradio/
JTSDK........: https://sourceforge.net/projects/jtsdk/
OpenPGP......: C177 6630 7115 78FE 9A2B 9F7F 18C0 F6B7 0DA2 F991
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel