- May 16, 2016
-
-
Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
-
- Aug 13, 2012
-
-
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
-
Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
-
- Feb 03, 2012
-
-
Brad King authored
If CXX or Fortran is enabled before C then the values of CMAKE_SHARED_MODULE_C_FLAGS CMAKE_SHARED_MODULE_CREATE_C_FLAGS may not be available. On platforms where MODULE library (plugin) creation is the same as SHARED library creation initialize the MODULE creation flags from the SHARED creation flags of the matching language instead of assuming that C has been enabled first. Teach the COnly and CxxOnly tests to build MODULE libraries. The latter covers this specific case.
-
- Mar 25, 2008
-
-
Ken Martin authored
-
- Dec 18, 2007
-
-
Bill Hoffman authored
-
- Dec 06, 2007
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- May 11, 2007
-
-
Ken Martin authored
-
- May 04, 2006
-
-
Bill Hoffman authored
-
- Jun 20, 2005
-
-
Ken Martin authored
-
- Feb 29, 2004
-
-
Andy Cedilnik authored
-
Andy Cedilnik authored
-
- Oct 31, 2003
-
-
Andy Cedilnik authored
-
- Jan 03, 2003
-
-
Andy Cedilnik authored
-
- Jan 02, 2003
-
-
Andy Cedilnik authored
-
- Jan 01, 2003
-
-
Andy Cedilnik authored
-
Andy Cedilnik authored
-
- Dec 31, 2002
-
-
Andy Cedilnik authored
-
- Oct 07, 2002
-
-
Andy Cedilnik authored
-
- Oct 06, 2002
-
-
Andy Cedilnik authored
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
-
- Apr 02, 2002
-
-
Bill Hoffman authored
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
-