
set(description [[basic usage of config()]])

message(STATUS "description \"${description}\"")
message(STATUS "expect exit zero")

include(configuration.cmake)

config(
  "docstring"
  config_test

  VALUE error-value-1 OFF
  VALUE success-value ON
  VALUE error-value-2
)

if(NOT ("${config_test}" STREQUAL "success-value"))
  message(FATAL_ERROR "failed")
endif()
