Commit Graph

9640 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
Alexander Neundorf c2f7a3c027 STYLE: use a macro for generating the documentation
Alex
2007-06-15 08:53:33 -04:00
Alexander Neundorf 9a696669dc COMP: big timeout for building kdelibs
Alex
2007-06-15 08:42:34 -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
Alexander Neundorf 53e5cf3a38 ENH: add test for buildingn kdelibs alpha1 (http://websvn.kde.org/tags/KDE/3.90.1) with cmake
requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/)
and the EasyDashboard scripts.

Alex
2007-06-14 13:55:23 -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 756f455565 STYLE: add man page for cpack
Alex
2007-06-14 11:17:43 -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
Alexander Neundorf 7203990661 COMP: removing the directory at the beginning breaks the test for in-source
builds

Alex
2007-06-14 08:33:21 -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 92270d5bf8 COMP: fix test, in some cases stdout from bar was not captured correctly,
probably because the process was killed before the fflush() worked because
the busy loop blocked the processor (failing midworld test)

Alex
2007-06-13 16:26:50 -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
Alexander Neundorf df1edcb9d3 ENH: first include the processor specific file, then the compiler file, this
way the specific hardware file can set variables which can be used in the
toolchain rules (like CMAKE_C_COMPILE_OBJECT etc.)

Alex
2007-06-12 16:41:50 -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
Bill Hoffman 227b942584 ENH: remove test 2007-06-11 17:15:00 -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
Brad King 1a71290836 BUG: Fixed name of variable used to check version of uic executable. 2007-06-11 15:02:03 -04:00
Bill Hoffman 23ef759b40 ENH: add ConvLib test back for some time 2007-06-11 15:00:23 -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 0f4ad19ef8 ENH: Re-arranged code to test adding a custom command to generate a source file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works. 2007-06-11 13:22:17 -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