Commit Graph

7121 Commits

Author SHA1 Message Date
Bill Hoffman 132cb5d479 ENH: add support for bounds checker 2007-07-24 14:43:31 -04:00
Alexander Neundorf 919265516e ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be
private again
-convert the ZIP generator to use a cmake script instead of hardcoding
everything (CPackZIP.cmake)

Alex
2007-07-24 12:52:39 -04:00
Bill Hoffman 4ae802d9c1 ENH: fix resource leak 2007-07-24 10:05:31 -04:00
Alexander Neundorf 8a6e2bb81d ENH: determine the current system also in cpack, so the search paths are
loaded
Additionally the makefile in cmCPackGenericGenerator is now protected
instead of private, so with these two changes the cpack generators should
now be able to find their tools and how to call these tools from cmake
scripts, instead of hardcoding the search order and command line (as done
e.g. in cmCPackZIPGenerator.cxx)

Alex
2007-07-24 10:00:26 -04:00
Andy Cedilnik 8240cc006f STYLE: Nightly Version update 2007-07-24 02:28:02 -04:00
Alexander Neundorf 7497f8accf STYLE: put a lot of comments into the generated cmake-cache preloading file to aid the user with using it
Alex
2007-07-23 13:13:29 -04:00
Alexander Neundorf cbab76516f ENH: try to create a file which can be used for presetting the cache values
of the TRY_RUN() results when crosscompiling

Alex
2007-07-23 10:47:23 -04:00
Alexander Neundorf dddbad259c PERF: micro optimization: the (*pos1) && (*pos1=='/') were redundant, and
hasDoubleSlash is false in most cases, so in most cases 3 comparisons were
done, now only one

Alex
2007-07-23 09:06:48 -04:00
Andy Cedilnik 21c14ca2bc STYLE: Nightly Version update 2007-07-23 00:41:20 -04:00
Andy Cedilnik aa31c8bcde STYLE: Nightly Version update 2007-07-21 23:26:15 -04:00
Andy Cedilnik 425b912f66 STYLE: Nightly Version update 2007-07-20 22:46:44 -04:00
Bill Hoffman fcad93e172 ENH: user more memory for parser and add test to complex that sets a huge string 2007-07-20 14:08:37 -04:00
Bill Hoffman 2fb1c43a11 ENH: fix div by 0 2007-07-20 13:03:14 -04:00
Alexander Neundorf 581518919b STYLE: even more output when --debug-output is used
Alex
2007-07-20 08:48:32 -04:00
Alexander Neundorf 55303d6dd2 STYLE: fix line lengths
Alex
2007-07-20 08:36:16 -04:00
Andy Cedilnik 38084147e1 STYLE: Nightly Version update 2007-07-19 21:02:11 -04:00
Alexander Neundorf 8c77fe55dc STYLE: fix some typos, nicer debug output
Alex
2007-07-19 11:13:01 -04:00
Andy Cedilnik b6b1ebe295 STYLE: Nightly Version update 2007-07-18 14:38:55 -04:00
Alexander Neundorf 27244a1fde ENH: build codeblocks generator also on Windows
Alex
2007-07-18 10:19:33 -04:00
Bill Hoffman 0044ce71bc STYLE: add more docs 2007-07-17 13:43:37 -04:00
Alexander Neundorf 11742beb1b COMP: fix warning about unused variable
Alex
2007-07-17 13:10:17 -04:00
Alexander Neundorf b56815a4e9 COMP: fix build on Windows, where GetCurrentDirecty() is redefined to
GetCurrentDirectoryA()
-correct return value for md5sum

Alex
2007-07-17 12:01:39 -04:00
Alexander Neundorf a4429ad30a STYLE: fix line lengths and add "remove -f" to the docs
Alex
2007-07-17 10:44:09 -04:00
Alexander Neundorf 95a8331edb ENH: produce a lot more output when running with --debug-output
-try to fix build error on HPUX

Alex
2007-07-17 09:25:08 -04:00
Alexander Neundorf e69958c3cf BUG: fix bootstrapping, md5sum disabled in bootstrapping mode
Alex
2007-07-16 15:10:40 -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
Alexander Neundorf 5bb94ce166 ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums of
files, compatible to md5sum output

Alex
2007-07-16 10:54:32 -04:00
Alexander Neundorf 1941b1c5d2 STYLE: better error message, name the new manpages cmakecommands,
cmakecompat, cmakeprops and cmakemodules

Alex
2007-07-13 12:03:13 -04:00
Alexander Neundorf 378a8e99f9 ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems
to be interest in it

Alex
2007-07-13 00:58:43 -04:00
Alexander Neundorf c8010cd7fb ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
added tests for LIST(CONTAINS, SORT, REVERSE)

Alex
2007-07-12 11:56:45 -04:00
Ken Martin 36eb538843 BUG: fix screwup in GetDirectoryProp... 2007-07-12 10:17:37 -04:00
Alexander Neundorf 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea)
Alex
2007-07-12 08:37:10 -04:00
Alexander Neundorf 16705a3e87 COMP: revert last commit for now, broke Visual Studio
Alex
2007-07-11 17:29:27 -04:00
Alexander Neundorf bea1a5de77 ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a
two-step priority (None or Prefered)
Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40
This is the same order as automake choses:
http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html

This change should be backward compatible:
if there is a project using fortran and CXX, they had to set the
LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated
the project files). Explicitely setting the linker language still overrides
automatic detection.
If somebody has a custom language for cmake and the PREFERENCE starts with
"P", its changed to 100, which gives it preference over all other languages
(except the other custom languages which have also "Prefered"). "None" is
converted to 0.

Alex
2007-07-11 16:22:04 -04:00
Alexander Neundorf 9f16292b6a STYLE: sort the property documentation into
global/directory/target/test/sourcefile and variable sections

Alex
2007-07-11 15:53:58 -04:00
Alexander Neundorf ab10b43ec5 ENH: change the way #cmakedefine is changed to #undef, so it is similar to
what autoconf does. This makes porting software from autoconf to cmake
easier, since it's easier to diff the resulting config headers.

Now the following
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_STRLCAT 1

produce:

#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT */

whereas before they produced:

#define HAVE_STRING_H 1
/* #undef HAVE_STRLCAT 1 */

Since it's commented out anyway, it's now change in behaviour.

Alex
2007-07-11 15:50:32 -04:00
Ken Martin 9f2ee61cc8 ENH: added some documentation to explain a section of code a bit better 2007-07-10 14:05:06 -04:00
Ken Martin 8c641677e9 ENH: some cleanup of get property commands 2007-07-10 13:52:41 -04:00
Brad King 15f21aa74c STYLE: Removed stray comment. 2007-07-09 14:30:33 -04:00
Andy Cedilnik 3a69b75c09 STYLE: Nightly Version update 2007-07-09 05:50:48 -04:00
Andy Cedilnik 39d1d72a72 STYLE: Nightly Version update 2007-07-09 00:44:51 -04:00
Andy Cedilnik d0441d6b25 STYLE: Nightly Version update 2007-07-07 17:23:32 -04:00
Andy Cedilnik 38f68e433a STYLE: Nightly Version update 2007-07-06 19:09:40 -04:00
Andy Cedilnik dbbe920865 STYLE: Nightly Version update 2007-07-05 15:50:36 -04:00
Andy Cedilnik a28b298aa6 STYLE: Nightly Version update 2007-07-04 08:21:27 -04:00
Alexander Neundorf 7fbd4161d5 STYLE: name the external generator "KDevelop3 - Unix Makefiles" instead of "Unix Makefiles -
KDevelop3"
-initialize Ignore to 0, crashes otherwise

Alex
2007-07-03 16:10:50 -04:00
Alexander Neundorf ad2fe23f6f COMP: fix compile on HP-UX with aCC, reusing the same identifier for a
variable as for the enum type doesn't work here

Alex
2007-07-03 08:26:32 -04:00
Andy Cedilnik fa9dd93d95 STYLE: Nightly Version update 2007-07-03 03:58:13 -04:00
Alexander Neundorf 1fb59c23fd COMP: fix warnings
Alex
2007-07-02 16:46:18 -04:00
Brad King e25dd3b903 COMP: Remove unused argument. 2007-07-02 16:04:15 -04:00