7210 Commits

Author SHA1 Message Date
Alexander Neundorf
0ef8da2a53 STYLE: remove code duplication between PrepareScriptReference and
GetScriptReference, and make the logic for getting the filename public, so
it can be used e.g. for exporting

Alex
2007-06-15 14:27:33 -04:00
Alexander Neundorf
8237518994 BUG: don't strip static libraries, it removes their symbol table, dynamic
libs have an extra symbol table so they still work stripped

Alex
2007-06-15 13:00:54 -04:00
Alexander Neundorf
69d3628461 BUG: don't run strip on OPTIONAL install targets if the file doesn't exist
Alex
2007-06-15 11:12:07 -04:00
Alexander Neundorf
fe45c19666 STYLE: add some more line breaks so it should be easier to read
Alex
2007-06-15 10:34:40 -04:00
Alexander Neundorf
9d4f3a0686 STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and
GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is
one const accessor which is even faster since it returns a reference
(instead of copying a vector)
-more const to ensure that this the returned local generators don't actually
get modified
-removed duplicated code in GetCTestCommand() and GetCPackCommand()
-added some const accessors

Alex
2007-06-15 10:10:24 -04:00
Andy Cedilnik
8934172db7 STYLE: Nightly Version update 2007-06-15 08:19:31 -04:00
Alexander Neundorf
2f6f3316e4 STYLE: fix typo
Alex
2007-06-14 13:57:00 -04:00
Bill Hoffman
21b5c7d2b4 ENH: add more verbose output 2007-06-14 13:05:09 -04:00
Alexander Neundorf
f80d98bc09 ENH: support 7zip for creating zip files (not 7z files)
Alex
2007-06-14 12:03:53 -04:00
Alexander Neundorf
68cb7b3173 STYLE: add comment about the -D -P order and fix typo in doc
Alex
2007-06-14 08:49:57 -04:00
Andy Cedilnik
9c08054016 STYLE: Nightly Version update 2007-06-14 07:08:58 -04:00
Andy Cedilnik
64fedd8835 STYLE: Nightly Version update 2007-06-14 01:21:54 -04:00
Alexander Neundorf
698ca6e956 STYLE: add documentation for FILE(REMOVE ...) and FILE(REMOVE_RECURSE ...)
FILE(REMOVE ...) works only for files, not for directories, REMOVE_RECURSE
works for both, it seems having both is not necessary

Alex
2007-06-13 14:36:26 -04:00
Alexander Neundorf
8c4fc5fa71 COMP: include cmStandardIncludes.h instead of <vector> and <string>, this
should fix the build problem on AIX

Alex
2007-06-13 12:52:29 -04:00
Alexander Neundorf
732788d191 BUG: make MARK_AS_ADVANCED() scriptable, because this is the only reason
many cmake FindXXX.cmake modules can't be used in script mode and also
FindUnixMake.cmake, which is required by the CTEST_BUILD() command

Alex
2007-06-13 10:54:28 -04:00
Andy Cedilnik
17b5c79d15 STYLE: Nightly Version update 2007-06-12 17:02:41 -04:00
David Cole
07837ebe3a BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path. 2007-06-12 11:11:07 -04:00
Alexander Neundorf
6e28861c18 ENH: remove non/scriptable cmake commands from the script handler in ctest,
as discussed with David. This also gives a better ctest man page with just
the commands you should actually use in ctest scripts.
Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an
error. Now you get an error instantly if using one of these commands.

Alex
2007-06-12 10:56:40 -04:00
Bill Hoffman
c64447c368 ENH: make sure working directory is set 2007-06-12 10:19:13 -04:00
Alexander Neundorf
e9c163762e STYLE: remove argument bool fast, it was unused
Alex
2007-06-12 09:40:36 -04:00
Alexander Neundorf
3ca8c8d946 COMP: remove warning about unused variable
Alex
2007-06-12 08:23:24 -04:00
Andy Cedilnik
b063c0c07b STYLE: Nightly Version update 2007-06-11 17:00:56 -04:00
Alexander Neundorf
6c02ec1a40 STYLE: add a comment about SetLanguageEnabled()
-add a Generic.cmake for target platforms without operating system

Alex
2007-06-11 15:47:35 -04:00
David Cole
ed1a04360a BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs. 2007-06-11 15:36:50 -04:00
Alexander Neundorf
422dc631b6 ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the
second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.

Alex
2007-06-11 15:31:42 -04:00
Alexander Neundorf
1b68e41b08 STYLE: determineLanguageCalled removed, now the conditional code is directly
called in the only place where it could be set to true

Alex
2007-06-11 14:28:31 -04:00
Brad King
dfb79bea23 STYLE: Removed unused reference to cmMakeDepend. 2007-06-11 12:40:41 -04:00
Brad King
28e94533dd BUG: More problems with cmMakefile copy-constructor. It seems the regular expression class cannot be assigned but does not enforce this limitation at compile time. 2007-06-11 10:25:40 -04:00
Alexander Neundorf
4ed167090e ENH: enable cvs or svn support if the source has the CVS/.svn subdirs
Alex
2007-06-10 19:51:26 -04:00
Andy Cedilnik
e3e6b02096 STYLE: Nightly Version update 2007-06-10 15:56:38 -04:00
Andy Cedilnik
5361794aca STYLE: Nightly Version update 2007-06-09 02:39:25 -04:00
Brad King
5e0da0b0eb BUG: Copy constructor needs to copy regular expression members. 2007-06-08 17:44:36 -04:00
Alexander Neundorf
33fe9c027f ENH: fail if an unknown target is listed
Alex
2007-06-08 16:19:13 -04:00
Alexander Neundorf
e37f8e2964 STYLE: create command documentation for ctest
I think some of the cmake commands should be removed from ctest if possible,
like add_executable etc.

Alex
2007-06-08 16:06:33 -04:00
Ken Martin
d1c4a0bf9e BUG: fix timeout bug with global timeouts such as DART_TESTING_TIMEOUT 2007-06-08 14:16:04 -04:00
Brad King
546d7e72d9 BUG: Fixed spelling and formatting of new documentation. 2007-06-08 13:43:17 -04:00
Alexander Neundorf
96bb8da184 COMP: less warnings
Alex
2007-06-08 12:42:29 -04:00
Bill Hoffman
93c0384f48 ENH: use new covbr that does not stop on error 2007-06-08 12:29:40 -04:00
Alexander Neundorf
0ddc9f62e5 ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
write generators for IDE projects, which use already existing makefiles
(current the kdevelop generator)
-first stept of the export interface, iniitial export() command
-more replacements for the FIND_XXX docs

Alex
2007-06-08 11:57:16 -04:00
Andy Cedilnik
eec01a31d7 STYLE: Nightly Version update 2007-06-08 09:29:50 -04:00
Alexander Neundorf
01eea01f21 STYLE: fix typo (bug #5115)
Alex
2007-06-08 09:19:19 -04:00
Alexander Neundorf
e737d7d07a STYLE: add documentation for CMAKE_FIND_ROOT_PATH
Alex
2007-06-07 14:57:32 -04:00
Alexander Neundorf
ea26cc537e BUG: fix Bootstrap test
Alex
2007-06-07 14:31:56 -04:00
Alexander Neundorf
b956fc2406 STYLE: remove out commented code
Alex
2007-06-07 13:51:17 -04:00
Alexander Neundorf
18cc1228bb ENH: also remove uninitialized from the cache
Alex
2007-06-07 10:41:52 -04:00
Alexander Neundorf
ae035f7c90 BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake the
CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx
ones

Alex
2007-06-07 09:37:54 -04:00
Alexander Neundorf
8d0550e4e2 STYLE: remove wrong comments
Alex
2007-06-07 08:29:15 -04:00
Brad King
db0f26e852 BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test. 2007-06-06 16:20:02 -04:00
Andy Cedilnik
d016b69af3 STYLE: Nightly Version update 2007-06-06 15:05:36 -04:00
Andy Cedilnik
62e7e34514 STYLE: Nightly Version update 2007-06-06 11:46:12 -04:00