Commit Graph

10755 Commits

Author SHA1 Message Date
Brad King
b2cf4db201 BUG: Fix typo XCode -> Xcode in Preprocess test. 2008-03-01 10:56:03 -05:00
Brad King
e083de1cf5 ENH: Update Preprocess test to distinguish between the make tool or compiler tool that is at fault for not supporting a particular character in definitions. Make it skip the % character when the compiler is MSVC and it is a non-nmake tool. 2008-03-01 09:08:59 -05:00
Brad King
230c8972f7 BUG: Do not place $(CMAKE_COMMAND) in link scripts. 2008-03-01 09:08:34 -05:00
Brad King
c0f2d419e0 STYLE: Nightly Date Stamp 2008-03-01 00:01:04 -05:00
Bill Hoffman
f48a5cedc9 ENH: fix warnings 2008-02-29 21:33:33 -05:00
Bill Hoffman
0634c9d78e ENH: fix docs 2008-02-29 21:33:04 -05:00
Ken Martin
10d1639ea3 ENH: just getting somethng checked in, still work to do 2008-02-29 15:42:14 -05:00
Ken Martin
0e82aafff0 ENH: case 2008-02-29 15:41:35 -05:00
Ken Martin
ab851bf36b ENH: just getting somethng checked in, still work to do 2008-02-29 15:28:46 -05:00
Bill Hoffman
22dc873ef0 ENH: allow cdash not to trigger 2008-02-29 14:58:33 -05:00
Bill Hoffman
b548b34a11 ENH: add vs9 stuff, still need msvc9 mfc 2008-02-29 14:36:33 -05:00
Bill Hoffman
f386c2aae0 ENH: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS the default and remove the property. If any value is specified in an endif, endforeach, endwhile, etc then make sure it matches the start string. If no values are given then it is no longer an error. 2008-02-29 12:18:11 -05:00
Brad King
03ef00bc93 ENH: Make cmELF parser more general and powerful
- Add support to get RPATH and RUNPATH entries.
  - Add support to get file offsets to strings.
  - Add more DT_* tags to byte swapping.
2008-02-29 11:12:59 -05:00
Brad King
44f696f8da BUG: cmComputeLinkInformation::CheckImplicitDirItem needs to extract the filename portion of the link item to test against the library regex. 2008-02-29 09:15:32 -05:00
Brad King
1f71ee64ff STYLE: Nightly Date Stamp 2008-02-29 00:01:04 -05:00
Brad King
d404c6bff6 COMP: cmELF needs to include sys/link.h to get dynamic section structures on the Sun. 2008-02-28 08:43:10 -05:00
Brad King
fcad490654 COMP: Fix warnings in cmELF. 2008-02-28 08:32:05 -05:00
Brad King
6c7d32394c STYLE: Nightly Date Stamp 2008-02-28 00:01:11 -05:00
Brad King
dfe2ea6406 ENH: Handle large object file lists on some platforms
- Use a response file when enabled by
    CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS
  - Enable for C and CXX with cl (MSVC)
  - Enable for Fortran with ifort (Intel Fortran)
2008-02-27 17:10:45 -05:00
Brad King
4c137bad6b ENH: Add ELF file parsing
- Enabled when system provides elf.h
  - Introduce cmELF class to parse ELF files
  - Use in cmSystemTools::GuessLibrarySOName to really get soname
2008-02-27 16:26:35 -05:00
Brad King
69ad23a6e7 BUG: Fixed typo in previous commit of kwsys/CPU.h.in 2008-02-27 16:11:20 -05:00
Brad King
4a40fe43e3 ENH: Added CPU.h to KWSys to identify the target CPU and its byte order. 2008-02-27 16:07:14 -05:00
Brad King
e840a9dff3 BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules. 2008-02-27 14:31:09 -05:00
Brad King
883931056f STYLE: Nightly Date Stamp 2008-02-27 00:01:05 -05:00
Brad King
f1b80f642b STYLE: Nightly Date Stamp 2008-02-26 00:01:09 -05:00
Brad King
83c5f1b3f0 ENH: Add support to C compiler identification for void return type from main. Cross-compilers for embedded platforms may require it. 2008-02-25 18:47:19 -05:00
Clinton Stimpson
0a9f041d2f ENH: Adjust when log is cleared. Its kept doing generate,
and cleared when changing the source directory.
      #6358.
2008-02-25 15:07:38 -05:00
Alexander Neundorf
09829174a3 BUG: fix rpmbuild bug, which expands variables in comments :-/
apparently rpmbuild can't handle paths with spaces and can't handle
variables in comments...

Alex
2008-02-25 14:23:24 -05:00
David Cole
cba1ad5603 BUG: Exclude try_compile sources and kwsys files from CMake coverage results. 2008-02-25 10:17:17 -05:00
Brad King
9211b0d234 ENH: Improvied compiler identification robustness
- Write a single source file into the compiler id directory
  - This avoid requiring the compiler to behave correctly with
    respect to include rules and the current working directory
  - Helps to identify cross-compiling toolchains with unusual
    default behavior
2008-02-25 09:23:14 -05:00
Brad King
88bd02a5d1 STYLE: Nightly Date Stamp 2008-02-25 00:01:03 -05:00
Brad King
58480575a3 ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method. 2008-02-24 14:05:21 -05:00
Brad King
dab5ea859a COMP: Fix Borland 5.5 build
- Its <iosfwd> header includes windows.h which
    defines GetCurrentDirectory
  - It defines 'interface' so we cannot use it as
    a variable name.
2008-02-24 14:05:11 -05:00
Brad King
daaaf7fdcc STYLE: Nightly Date Stamp 2008-02-24 00:01:02 -05:00
Brad King
a48f7968b6 STYLE: Nightly Date Stamp 2008-02-23 00:01:05 -05:00
Brad King
5e7dce703e COMP: Fix unreachable code warning in cmOrderDirectories. 2008-02-22 09:44:11 -05:00
Brad King
f76464dd28 STYLE: Nightly Date Stamp 2008-02-22 00:01:03 -05:00
Brad King
90b99433fc COMP: Remove unused local variable from cmOrderDirectories. 2008-02-21 13:59:34 -05:00
Brad King
782e9f7ffe ENH: Improve linking to third-party shared libraries on soname platforms
- Reduce false positives in cases of unknown soname
  - Make library extension regular expressions match only at end of string
  - When linking to libraries in implicit dirs convert to the -l option
    only if the file name is one that can be found by the linker
    (ex. /usr/lib/libfoo.so.1 should be linked by full path)
  - Add cmSystemTools::GuessLibrarySOName to guess the soname of a
    library based on presence of a symlink
  - In cmComputeLinkInformation try to guess an soname before assuming
    that a third-party library is built without an soname
  - In cmOrderDirectories guess the soname of shared libraries in cases
    it is otherwise unknown
2008-02-21 13:58:41 -05:00
Brad King
fd37a6ec3d ENH: Better linker search path computation.
- Use linker search path -L.. -lfoo for lib w/out soname
    when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
  - Rename cmOrderRuntimeDirectories to cmOrderDirectories
    and generalize it for both soname constraints and link
    library constraints
  - Use cmOrderDirectories to order -L directories based
    on all needed constraints
  - Avoid processing implicit link directories
  - For CMAKE_OLD_LINK_PATHS add constraints from libs
    producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Brad King
9f2f456e7d STYLE: Nightly Date Stamp 2008-02-21 00:01:05 -05:00
Brad King
454da64c99 BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule. 2008-02-20 14:56:29 -05:00
Brad King
5e72a0d4e4 ENH: Deprecate export_library_dependencies
- Reference export() and install(EXPORT)
  - Fix to support OUTPUT_NAME in simple cases
2008-02-20 13:36:38 -05:00
Brad King
cfd65e29da STYLE: Nightly Date Stamp 2008-02-20 00:01:05 -05:00
Luis Ibanez
c3899ab4be ENH: Missing copyright header. 2008-02-19 18:50:52 -05:00
Alexander Neundorf
f4b28ee044 STYLE: patch part 3 from Miguel: follow naming style for variables
Alex
2008-02-19 16:34:49 -05:00
Alexander Neundorf
a2fadc80fa ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is
true, then the generator additionally generates eclipse project files in the
source dir, since this is the only way to get cvs/svn working with eclipse

This is off by default and the user has to enable it explicitely. If cmake
can't write there it still continues.

Alex
2008-02-19 16:27:03 -05:00
Alexander Neundorf
87ae93362c ENH: patch part 1 from Miguel: use the cmake project name for the eclipse
project name

Alex
2008-02-19 15:07:28 -05:00
Bill Hoffman
01bd9819c3 ENH: better ui 2008-02-19 14:47:32 -05:00
Alexander Neundorf
969ea3f449 ENH: add support for creating the documentation in docbook format
(http://www.oasis-open.org/docbook/xml/4.2/), which users can then convert
to other formats.
Tested with meinproc from KDE, which generates HTML pages which look good.

Alex
2008-02-19 14:33:43 -05:00