Skip to content

Make CMAKEPP_LANG_DEBUG_MODE an explicit CMake option #134

@zachcran

Description

@zachcran

Is your feature request related to a problem? Please describe.
CMAKEPP_LANG_DEBUG_MODE is an option that can be turned on to get better logging and error checks (although they are computationally more expensive to do). While this is available in the code and documented in almost every function, it is not advertised as a CMake option.

Describe the solution you'd like
Explicitly add it as a CMake option. This would probably be a single call in the top-level CMakeLists.txt:

option(
    CMAKEPP_LANG_DEBUG_MODE
    "Enable CMakePP's debug mode. This is computationally expensive and should be left off unless checking for programming errors."
    OFF
)

Describe alternatives you've considered
Leave it the way it is, as a "hidden" option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions