########################## cmake_test/asserts/defined ########################## .. module:: cmake_test/asserts/defined .. function:: ct_assert_defined(var) Asserts that the provided variable is defined. This function can be used to assert that a variable is defined. It does not assert that the variable is set to any particular value. If the variable is not defined it will raise an :code:`ASSERTION_FAILED` exception. :param var: The identifier to check for defined-ness. :type var: str* .. function:: ct_assert_not_defined(var) Asserts that the provided variable is not defined. This function can be used to assert that a variable is not defined. If the variable is actually defined this function will raise an error. :param var: The identifier to check for defined-ness. :type var: str*