1. 09 Nov, 2018 1 commit
  2. 08 Oct, 2013 1 commit
    • Brad King's avatar
      unset: Add PARENT_SCOPE option · 261c2482
      Brad King authored
      Add an unset() command option to remove a variable from the calling
      scope, just like the set() command's PARENT_SCOPE option.  Teach the
      Unset test to cover such cases.
  3. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  4. 25 Sep, 2008 1 commit
    • Brad King's avatar
      ENH: Create $CACHE{VAR} syntax · f8bc0492
      Brad King authored
      This syntax allows reading of cache entries even when variables of the
      same name have been defined in the local scope.  See issue #7715.
  5. 30 Aug, 2008 1 commit
    • Brad King's avatar
      BUG: Fix Unset test on VS 6 · 0a10958a
      Brad King authored
      Visual Studio 6 does not recognize .cc as a C++ extension by default.
      Simplify the test to be C-only and use a .c extension.
  6. 25 Aug, 2008 1 commit
    • Brad King's avatar
      ENH: Add unset() command. · 33e865c0
      Brad King authored
      This introduces the unset() command to make it easy to unset CMake
      variables, environment variables, and CMake cache variables.  Previously
      it was not even possible to unset ENV or CACHE variables (as in
      completely remove them).  Changes based on patch from Philip Lowman.
      See issue #7507.