Commit Graph

21 Commits

Author SHA1 Message Date
Bill Hoffman dccbbe0a99 Visual Studio 10 has the same bug as 8 so make the path shorter 2009-09-23 16:10:31 -04:00
Brad King 990c6b0b90 ENH: Allow custom limit on object file path length
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.
2008-08-21 09:54:36 -04:00
Ken Martin ce8810c4e7 ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Alexander Neundorf edb0a70d1f STYLE: remove debug output 2007-07-16 13:29:41 -04:00
Alexander Neundorf fac8604810 BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't
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
2007-07-16 13:26:56 -04:00
Brad King 0cb45081d9 BUG: Disable deep-source test on Watcom until it can be fixed. This is a new feature for other generators anyway. 2007-03-21 07:16:32 -04:00
Brad King e85eb5fc3d BUG: Reduce long source file name length for WMake. 2007-03-20 13:34:39 -04:00
Brad King 75a51cd065 BUG: Work around VS8 conversion to a relative path for the long source name. 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. 2007-03-20 08:16:35 -04:00
Brad King 1f639ee76c ENH: Added computation of object file names that are almost always short 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. 2007-03-16 10:34:25 -04:00
Brad King 30235517f8 BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847. 2006-10-16 15:18:03 -04:00
Brad King 0fe0523810 BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature. 2006-10-09 21:25:58 -04:00
Brad King ccfab2622b ENH: Adding test for multiple source files with the same name but different full paths. 2006-07-07 09:54:29 -04:00
Ken Martin fd26d148d8 ENH: test get directory properties ability to get props from subdirs 2005-09-13 10:40:38 -04:00
Ken Martin 9a326a48e7 ENH: convert to work with the new syntax for ADD_SUBDIRECTORY 2005-09-12 14:26:45 -04:00
Bill Hoffman 237e7d34f9 ENH: add missing files 2005-07-14 13:50:27 -04:00
Bill Hoffman b7b35d2c5a FIX: fix bug 2043 borland compiler and dll problem and add a test for it 2005-07-14 12:21:49 -04:00
Ken Martin 2e4258efc1 ENH: shift to using ADD_SUBDIRECTORY 2005-06-08 12:26:32 -04:00
Ken Martin f33c633c40 ENH: also test for correct Proj dir settings 2005-04-12 09:35:40 -04:00
Ken Martin 179dc3c7ac ENH: better test for subdirs 2005-03-29 15:33:46 -05:00
Ken Martin 345cf04012 ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings 2005-03-18 10:41:41 -05:00
Ken Martin f7c024df2a ENH: added new test for out of dir source trees 2005-03-14 11:26:32 -05:00