Skip to content
Snippets Groups Projects
Select Git revision
  • 213f27465bdf3319665b44dad6834ec7009f73ae
  • main default protected
  • history
3 results

logger.ts

Blame
  • Forked from ajou-pay / client-user
    Source project has a limited visibility.
    CMakeLists.txt 1009 B
    #[[
    Toolkit neutral library for exceptions.
    
    Abstract class AudacityException with a member function for a delayed
    handler action, enqueued in the main thread;
    
    Some commonly useful subclasses, with delayed handlers that are no-ops or
    are displays of messages to the user;
    
    Function template GuardedCall which stops propagation of exceptions and
    enqueues the delayed action.
    
    But this library does NOT define a top-level handler for the whole application,
    to catch all otherwise uncaught exceptions. That is a responsibility of high
    level code.
    ]]
    
    set( SOURCES
       AudacityException.cpp
       AudacityException.h
       InconsistencyException.cpp
       InconsistencyException.h
       UserException.cpp
       UserException.h
    )
    set( LIBRARIES
       lib-utility-interface
       lib-basic-ui-interface
    )
    
    if( APPLE AND MIN_MACOS_VERSION VERSION_LESS "10.12")
       set( DEFINITIONS
          PUBLIC
             -DUNCAUGHT_EXCEPTIONS_UNAVAILABLE
       )
    endif()
    
    audacity_library( lib-exceptions "${SOURCES}" "${LIBRARIES}"
       "${DEFINITIONS}" ""
    )