Brad King
52eb0ccac7
BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169 .
2008-01-07 16:12:37 -05:00
Alexander Neundorf
9f2790d3e7
BUG: with cmake 2.4 INSTALL_FILES() with no files was accepted by cmake,
...
with cmake cvs without this patch an invalid cmake_install.cmake script was
generated in this case, it failed with an error if no files were given. So
just do nothing if no files are listed to make it compatible.
http://lists.kde.org/?l=kde-commits&m=119965185114478&w=2
Alex
2008-01-07 14:52:45 -05:00
Brad King
e73508aa65
ENH: Changes based on patch from Maik for better cmDependsFortran::ModulesDiffer.
2008-01-07 11:36:17 -05:00
Brad King
4b2218045d
ENH: Add support to CMAKE_DETERMINE_COMPILER_ID macro to try building the id source more than once with different extra flags added to the compiler. Use the support to correctly identify the Intel Fortran compiler on windows which does not preprocess by default without special flags.
2008-01-07 10:27:28 -05:00
Brad King
0d916d4e72
STYLE: Nightly Date Stamp
2008-01-07 00:01:02 -05:00
Alexander Neundorf
9aeffa6e11
BUG: fix #6105 , if a directory inside CMAKE_FIND_ROOT_PATH is given to a
...
FIND_XXX() command, don't prepend the root to it (since it is already in
this root)
Alex
2008-01-06 17:18:15 -05:00
Brad King
6c073ddb65
STYLE: Nightly Date Stamp
2008-01-06 00:01:04 -05:00
Miguel A. Figueroa-Villanueva
4c6dcc0ed9
BUG: Support cross-compiling; wx-config should be searched for in target platform ONLY (bug 6187).
2008-01-05 20:37:51 -05:00
Miguel A. Figueroa-Villanueva
d1f2e3ff97
ENH: Generalized the WXWIDGETS_ADD_RESOURCES to support header generation, xrs file generation, and other options (BUG: 6162).
2008-01-05 11:19:29 -05:00
Brad King
b26afe75fd
STYLE: Nightly Date Stamp
2008-01-05 00:01:03 -05:00
Brad King
4e514a5e00
BUG: File installation should overwrite the destination if the file times differ at all rather than only if the source file is newer. Users expect installation to overwrite destination files. This addresses the re-opening of bug#3349.
2008-01-04 14:22:57 -05:00
Alexander Neundorf
eed9b1b0da
ENH: rename variables from GIFLIB_* to GIF_*
...
-add standard QUIET and REQUIRED handling
-add GIF_LIBRARIES variable as readme.txt says
-add name giflib to the names for the gif library
-remove some unnecessary search paths for the lib (they are already part of
the standard search paths, see Modules/Platform/UnixPaths.cmake)
-FindFreetype.cmake: use PATH_SUFFIXES include again for the headers with
the CMAKE_PREFIX_PATH variable
Alex
2008-01-04 12:38:34 -05:00
Alexander Neundorf
daa45056c9
STYLE: rename FindGIFLIB.cmake to FindGIF.cmake, as discussed with Eric
...
Alex
2008-01-04 12:29:29 -05:00
Alexander Neundorf
b67a35e081
BUG: fix spelling of the xf86misc and xf86vmode variables
...
Alex
2008-01-04 11:56:18 -05:00
Eric Wing
4726811487
ENH: Added all lowercase 'openal' to library search names in hopes of addressing
...
bug 6201 (won't detect on Gentoo).
2008-01-04 11:42:08 -05:00
Alexander Neundorf
d18fb61c76
STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() to handle QUIET and REQUIRED
...
-remove some unnecessary search paths (they are part of the default paths)
-don't use PATH_SUFFIXES for include/ when searching for a header, that's very uncommon style
-add FREETYPE_LIBRARIES as the variable which should be used by the user (as documented in readme.txt)
Alex
2008-01-04 07:29:40 -05:00
Alexander Neundorf
473e5bb475
STYLE: renamed FindFreeType.cmake to FindFreetype.cmake to make it more
...
compatible with the one in KDE4
Alex
2008-01-04 07:25:27 -05:00
Brad King
b8785c4524
STYLE: Nightly Date Stamp
2008-01-04 00:01:03 -05:00
Ken Martin
ac4c2f675a
ENH: change raise_scope signature to be safer for returned varuables
2008-01-03 11:22:33 -05:00
Brad King
c61a3b6fe9
STYLE: Fix line-too-long.
2008-01-03 09:40:38 -05:00
Bill Hoffman
45a4ddd85c
BUG: fix resource file with a full path
2008-01-03 07:28:12 -05:00
Alexander Neundorf
b6918bd9a4
COMP: fix build on Windows with gcc, patch from Maik Beckmann
...
Alex
2008-01-03 04:19:30 -05:00
Brad King
38ed52fe14
ENH: Add method cmFileTimeComparison::FileTimesDiffer to check if file times differ by 1 second or more.
2008-01-03 00:01:38 -05:00
Brad King
8ca81ae7bf
STYLE: Nightly Date Stamp
2008-01-03 00:01:02 -05:00
Brad King
aa399c2350
ENH: Cleanup Fortran build directories by placing module stamp files in the target directory that builds them. This is actually a simpler implementation anyway.
2008-01-02 18:30:48 -05:00
Brad King
3fbd0ad869
ENH: Add test for FILE(READ ...HEX).
2008-01-02 18:00:19 -05:00
Brad King
dcd9a1b59f
BUG: Make RAISE_SCOPE function work when variable is not defined.
2008-01-02 17:49:16 -05:00
Brad King
ec05369d04
ENH: Enable indentation of FUNCTION/ENDFUNCTION blocks in emacs.
2008-01-02 17:32:58 -05:00
Bill Hoffman
fc6497883c
BUG: fix for bug 6151
2008-01-02 17:12:33 -05:00
Alexander Neundorf
3da6fd9da4
ENH: only allow usage of chrpath if the executable file format is ELF
...
Alex
2008-01-02 16:53:10 -05:00
Alexander Neundorf
474629568c
ENH: check the magic code of the executable file to determine the executable
...
file format. Tested for ELF on x86 Linux, COFF and Mach-O prepared but
commented out since I don't have such systems available. Please have a look
a CMakeDetermineCompilerId.cmake and enable the test for them too.
Only add the option for using chrpath if the executable format is ELF
Alex
2008-01-02 16:52:12 -05:00
Alexander Neundorf
7b54af713d
ENH: add the keywords OFFSET and HEX to the FILE() command, using OFFSET an
...
offset can be specified where the reading starts, and using HEX the data can
be converted into a hex string, so binary data can be compared with text
functions
-add docs for LIMIT, OFFSET and HEX
Alex
2008-01-02 16:46:38 -05:00
Brad King
2625b0498b
STYLE: Fixed line-too-long.
2008-01-02 15:55:18 -05:00
Brad King
62ff2befcc
BUG: Do not use VSMacros stuff for VS8sp0 because macros do not work in that version.
2008-01-02 15:53:28 -05:00
Brad King
60bf0531b0
ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help install a tree of header files while ignoring non-headers.
2008-01-02 15:17:56 -05:00
Alexander Neundorf
5097640671
ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib ( #5531 )
...
-make these variables cached and ADVANCED
-remove unused QUIETLY code
-document RUBY_LIBRARY
Alex
2008-01-02 12:32:17 -05:00
Alexander Neundorf
8e644c9dfa
BUG: make FindRuby work with the libs for MSVC, which can have additional
...
pre- and suffixes (#5642 )
Alex
2008-01-02 11:43:28 -05:00
Bill Hoffman
ff04863d9d
BUG: fix for bug 6197, absolute paths were not supported
2008-01-02 11:08:02 -05:00
Brad King
c7de81f9a6
ENH: Make the Fortran compiler id available to cmDependsFortran at scanning and module timestamp copy time.
2008-01-02 11:04:52 -05:00
Bill Hoffman
c8b8e0c702
BUG: fix for bug 6207 explain list index values better
2008-01-02 10:56:08 -05:00
Bill Hoffman
603cd2ab6a
ENH: fix new incremental link stuff to work with nmake @ files
2008-01-02 09:32:29 -05:00
Brad King
8624abf272
STYLE: Nightly Date Stamp
2008-01-02 00:01:03 -05:00
Bill Hoffman
ada4252c56
ENH: remove warning
2008-01-01 17:19:11 -05:00
Bill Hoffman
b479c6a8a9
ENH: add ability to have manifest files and incremental linking with make and nmake
2008-01-01 15:13:41 -05:00
Brad King
24d6ecd81c
BUG: Fix SimpleInstall test to work with new dependency of package on all.
2008-01-01 10:54:49 -05:00
Brad King
06a24eee51
STYLE: Nightly Date Stamp
2008-01-01 00:01:03 -05:00
David Cole
546c839d04
ENH: Add a dependency from the PACKAGE target to the ALL target so that "make package" will first (essentially) do a "make all"... A similar chunk of code already existed for the make install target. This change makes it easy to build an installer package as part of a dashboard run simply by setting CTEST_BUILD_TARGET to "package".
2007-12-31 17:29:20 -05:00
Brad King
1f987c06ea
ENH: Changes based on patch from Maik Beckmann to copy fortran modules to timestamps only if they have really changed. This optimization should reduce extra rebuilds caused by dependencies on modules whose providers have recompiled but whose interfaces have not changed.
2007-12-31 11:25:17 -05:00
Brad King
1ebf5aa2df
STYLE: Nightly Date Stamp
2007-12-31 00:01:03 -05:00
Brad King
19037da40f
ENH: Add SunPro fortran module flags on SunOS.
2007-12-30 16:34:49 -05:00