Menu

#35 Please add configuration flag to disable building tests and examples

1.4.x
open
nobody
None
5
2021-09-19
2021-09-02
Yuri
No

For package build there is no need to build tests.

Discussion

  • Daniel Aarno

    Daniel Aarno - 2021-09-07

    I do not know what "package build" means, please elaborate on what you are trying to do. Steps taken, expected result, and actual result. To use TCLAP you don't need to build anything, you can just include the headers.

     
  • Yuri

    Yuri - 2021-09-07

    There is a port for tclap. It builds a package that users then can use.

    There is no need to build tests and examples in the process of building a package.

     
  • Daniel Aarno

    Daniel Aarno - 2021-09-19

    Still no information about what you are trying to do or why, but there were options added to disable various parts of the build in [a6429a]. Perhaps that will allow you to do what you want.

     

    Related

    Commit: [a6429a]

  • Yuri

    Yuri - 2021-09-19

    Still no information about what you are trying to do or why,

    Like I wrote above, this is for the port. The port does not need tests and examples to build unconditionally because this just wastes CPU time.

    Perhaps that will allow you to do what you want.

    I'll retest with the next release, thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB