From b7fa820118d6989ca4d77dbfcc972c2e903bfe2a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 14 Dec 2005 13:51:08 -0500 Subject: ENH: add documentation support for modules --- Modules/CheckVariableExists.cmake | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Modules/CheckVariableExists.cmake') diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index ed1dfb306f..1cebdee3cc 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake @@ -1,14 +1,12 @@ -# -# Check if the variable exists. -# # CHECK_VARIABLE_EXISTS - macro which checks if the variable exists -# VAR - the name of the variable -# VARIABLE - variable to store the result -# +# - Check if the variable exists. +# CHECK_VARIABLE_EXISTS(VAR VARIABLE) +# - macro which checks if the variable exists +# VAR - the name of the variable +# VARIABLE - variable to store the result # If CMAKE_REQUIRED_FLAGS is set then those flags will be passed into the # compile of the program likewise if CMAKE_REQUIRED_LIBRARIES is set then -# those libraries will be linked against the test program -# -# only for C variables +# those libraries will be linked against the test program. +# This macro is only for C variables. # MACRO(CHECK_VARIABLE_EXISTS VAR VARIABLE) IF("${VARIABLE}" MATCHES "^${VARIABLE}$") -- cgit v1.2.1