Menu

Enabling itpp exceptions using cmake

Help
ryn
2017-08-24
2017-08-24
  • ryn

    ryn - 2017-08-24

    Hi
    I'm using cmake to compile itpp (v 4.3.1 ) on windows with gcc
    I need to enable itpp exceptions but there is no information on the Installation page about enabling exceptions using cmake

    How can i enable exceptions with cmake?

     
  • Bogdan Cristea

    Bogdan Cristea - 2017-08-24

    Hi

    From command line use
    cmake .. -DITPP_EXCEPTIONS=on
    or in cmake-gui define a new variable ITPP_EXCEPTIONS of type bool and init with true.
    This should at least put in config.h a
    #define ITPP_EXCEPTIONS

    regards
    Bogdan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.