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!):
# 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
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.
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.
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.
>
> 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