Menu

#22 Add conditional useage of asciidoc to doc/CMakeLists.txt

Develop
accepted
nobody
CMake (1)
5
2015-01-02
2013-09-07
No

Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if AsciiDoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed. This will duplicate the functionality present in the existing doc/Makefile.

Discussion

  • Robert James Clay

    Ticket moved from /p/makenl/feature-requests/7/

     
  • Robert James Clay

    • labels: --> CMake
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if ascidoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed.
    +Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if ascidoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed. This will duplicate the functionality present in the existing doc/Makefile.
    
    • status: open --> accepted
    • Group: CMake --> Develop
    • Priority: 7 --> 5
     
  • andrew clarke

    andrew clarke - 2014-12-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if ascidoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed. This will duplicate the functionality present in the existing doc/Makefile.
    +Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if AsciiDoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed. This will duplicate the functionality present in the existing doc/Makefile.
    
     
  • andrew clarke

    andrew clarke - 2014-12-04

    Sounds like a good idea. I'm not sure how to do conditional builds with CMake though.

     
  • Robert James Clay

    It's not so much a "conditional build" as it is a "do these steps if this particular program is available on the system" kind of thing...

     
  • Robert James Clay

    I've found some possible example ways of doing this but so far not something standard that could be just included or otherwise referenced. So may need to add it directly to, for instance, the existing docs/CMakeList.txt.

     

Log in to post a comment.

MongoDB Logo MongoDB