summaryrefslogtreecommitdiffstats
path: root/Tests/FunctionTest
Commit message (Collapse)AuthorAgeFilesLines
* Test add_subdirectory inside functionBrad King2009-09-161-0/+35
| | | | | | | This commit teaches the FunctionTest to check variable scope behavior when a subdirectory is added inside a function call. Any PARENT_SCOPE sets in the subdirectory should affect only the function scope which called add_subdirectory and not its parent scope.
* ENH: Improve strictness of Function testBrad King2009-07-221-4/+14
| | | | | | The command "set(... PARENT_SCOPE)" should never affect the calling scope. This improves the Function test to check that such calls in a subdirectory scope affect the parent but not the child.
* ENH: Remove CMAKE_ANSI_CFLAGS from testsBrad King2009-07-081-2/+0
| | | | | As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)Alexander Neundorf2008-01-183-9/+10
| | | | Alex
* ENH: change raise_scope signature to be safer for returned varuablesKen Martin2008-01-033-8/+32
|
* BUG: Make RAISE_SCOPE function work when variable is not defined.Brad King2008-01-022-0/+30
|
* ENH: add functions and raise scope to cmakeKen Martin2007-12-032-0/+93