summaryrefslogtreecommitdiffstats
path: root/Tests/OutOfSource
Commit message (Collapse)AuthorAgeFilesLines
* Remove CMake-language block-end command argumentsKitware Robot2012-08-132-5/+5
| | | | | | | | | | | | | | | | | 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
* Convert CMake-language commands to lower caseKitware Robot2012-08-133-40/+40
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+6
|
* Visual Studio 10 has the same bug as 8 so make the path shorterBill Hoffman2009-09-231-2/+2
|
* ENH: Allow custom limit on object file path lengthBrad King2008-08-211-2/+5
| | | | | | | | Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* STYLE: remove debug outputAlexander Neundorf2007-07-161-1/+0
|
* BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn'tAlexander Neundorf2007-07-161-0/+6
| | | | | | | | | | | | | | working, for both the result was always empty, since cmMakefile::GetProperty() recognized it as a special property, constructed a correct return value and called cmMakefile::SetProperty() with this list of directories, which then didn't actually set the property, but applied it to the internal vector of include/link directories. The following getPropertyValue in cmMakefile::GetProperty() then still didn't find it and returned nothing. Now for all special property the static string output is used and its content is returned. I'm not sure it is the right way to fix this problem but at least it seems to work and it fixes the Paraview3 build Alex
* BUG: Disable deep-source test on Watcom until it can be fixed. This is a ↵Brad King2007-03-212-7/+11
| | | | new feature for other generators anyway.
* BUG: Reduce long source file name length for WMake.Brad King2007-03-201-0/+7
|
* BUG: Work around VS8 conversion to a relative path for the long source name. ↵Brad King2007-03-201-2/+14
| | | | It takes the nice full path we give it, converts to relative, and then repacks relative on top of the build directory resulting in a path longer than its own maxpath even though the original path given was short enough. Even VS6 dealt with it better.
* ENH: Added computation of object file names that are almost always short ↵Brad King2007-03-163-1/+25
| | | | enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
* BUG: Need to collapse path argument to get_directory_property. This ↵Brad King2006-10-161-0/+4
| | | | addresses bug#3847.
* BUG: Fixed out-of-source subdirectories to work when they are also ↵Brad King2006-10-103-1/+11
| | | | out-of-binary. Updated the OutOfSource test to test this feature.
* ENH: Adding test for multiple source files with the same name but different ↵Brad King2006-07-073-2/+9
| | | | full paths.
* ENH: test get directory properties ability to get props from subdirsKen Martin2005-09-134-5/+26
|
* ENH: convert to work with the new syntax for ADD_SUBDIRECTORYKen Martin2005-09-121-2/+1
|
* ENH: add missing filesBill Hoffman2005-07-142-0/+17
|
* FIX: fix bug 2043 borland compiler and dll problem and add a test for itBill Hoffman2005-07-142-0/+9
|
* ENH: shift to using ADD_SUBDIRECTORYKen Martin2005-06-081-1/+2
|
* ENH: also test for correct Proj dir settingsKen Martin2005-04-121-1/+4
|
* ENH: better test for subdirsKen Martin2005-03-291-2/+2
|
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-182-2/+6
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* ENH: added new test for out of dir source treesKen Martin2005-03-144-0/+10