Ken Martin
7c473d4828
BUG: fix bugs 5539 (progress going beyond 100% when new files are added) and 5889 (tests are not found in some cases when using add_subdirectory to .. etc)
2008-01-18 10:25:25 -05:00
Brad King
6ad79d13dd
BUG: Construction of COMPILE_DEFINITIONS_<CONFIG> property name must use upper-case config name.
2008-01-18 08:35:37 -05:00
Brad King
2eff05e5cb
STYLE: Fix line-too-long.
2008-01-18 08:19:37 -05:00
Brad King
10678ea1d7
STYLE: Nightly Date Stamp
2008-01-18 00:01:02 -05:00
Brad King
119e02631c
ENH: Clarify documentation of find_package command.
2008-01-17 20:59:57 -05:00
Brad King
9d57dbd098
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
2008-01-17 20:34:10 -05:00
Brad King
8d1d5500c8
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.
2008-01-17 19:58:01 -05:00
Brad King
7f589c9f23
BUG: COMPILE_DEFINITIONS directory property needs to be inherited from parent when a directory is created.
2008-01-17 19:50:39 -05:00
Brad King
433099ecdd
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
2008-01-17 19:29:43 -05:00
Brad King
caca9b8065
ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify implementation of SET_PROPERTY command by using them.
2008-01-17 18:13:55 -05:00
Alexander Neundorf
9e8a1c639a
STYLE: PATHS is optional ( #6253 )
...
Alex
2008-01-17 17:49:30 -05:00
Alexander Neundorf
eccee212e1
STYLE: fix typo ( #6252 )
...
Alex
2008-01-17 17:43:04 -05:00
Brad King
669db35aa4
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
2008-01-17 17:19:13 -05:00
Brad King
83901b30da
COMP: Fix VS build.
2008-01-17 16:24:51 -05:00
Brad King
b8357db11d
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
2008-01-17 15:54:49 -05:00
Ken Martin
456631225b
ENH: use CTestTestfile.txt
2008-01-17 12:44:59 -05:00
Ken Martin
14fc7dd1dd
ENH: remove unused prototype
2008-01-17 12:35:07 -05:00
Brad King
5ef98132dd
COMP: Fix warning about missing virtual destructor.
2008-01-17 10:32:27 -05:00
Brad King
18b9e7db6c
ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property implementation.
2008-01-17 10:00:19 -05:00
Brad King
b424df917d
ENH: Major improvements to the FIND_PACKAGE command. See bug #3659 .
...
- Use CMAKE_PREFIX_PATH and CMAKE_SYSTEM_PREFIX_PATH among other means
to locate package configuration files.
- Create cmFindCommon as base for cmFindBase and cmFindPackageCommand
- Move common functionality up to cmFindCommon
- Improve documentation of FIND_* commands.
- Fix FIND_* commands to not add framework/app paths in wrong place.
2008-01-17 09:02:31 -05:00
Brad King
491d5d0104
STYLE: Nightly Date Stamp
2008-01-17 00:01:02 -05:00
Brad King
a06dcdba97
ENH: Allow LIST(APPEND) command to append nothing.
2008-01-16 11:24:41 -05:00
Brad King
34c04bbc24
STYLE: Nightly Date Stamp
2008-01-16 00:01:04 -05:00
Brad King
80c2be45e0
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
2008-01-15 21:02:00 -05:00
Bill Hoffman
a7e1031efe
ENH: remove patch as directory change was already fixed
2008-01-15 14:00:52 -05:00
Bill Hoffman
feea7133ef
BUG: fix for bug 6234, use cd /d so that drives can be changed.
2008-01-15 11:56:41 -05:00
Brad King
34c04d6d02
ENH: Added partial implementation of recognizing per-configration properties.
2008-01-15 10:49:59 -05:00
Brad King
da335fbd00
ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.
2008-01-15 10:49:22 -05:00
Brad King
53e9b5b329
STYLE: Nightly Date Stamp
2008-01-15 00:01:06 -05:00
Alexander Neundorf
f8f232bdd8
BUG: make -help-module-list work by filling the modules section first, also
...
for custom modules
Alex
2008-01-14 17:05:09 -05:00
Brad King
75a02152c2
COMP: Fix warning about backslash at end of c++ comment.
2008-01-14 11:07:05 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Brad King
2c42f75522
STYLE: Nightly Date Stamp
2008-01-14 00:01:04 -05:00
Brad King
340468a090
BUG: Removed stray debugging statement.
2008-01-13 16:59:09 -05:00
Brad King
857e2e15dd
ENH: Improved escaping in kwsys/System. Added escape of % for NMake. Added escape of ; for the VS IDE.
2008-01-13 16:36:20 -05:00
Brad King
4e96f4d503
STYLE: Nightly Date Stamp
2008-01-13 00:01:04 -05:00
Brad King
615ce67ad4
COMP: Fix build on borland.
2008-01-12 09:52:50 -05:00
Brad King
330b7c3f63
STYLE: Nightly Date Stamp
2008-01-12 00:01:05 -05:00
Bill Hoffman
ee886fbbdb
ENH: add CMAKE_DEFINE_FLAG_(LANG) that can replace -D flags with what the compiler actually uses
2008-01-11 13:00:29 -05:00
Brad King
a6d32b96ed
ENH: Add SystemTools::SplitPathRootComponent and re-implement SplitPath to use it. Add better treatment of user home directory paths.
2008-01-11 08:33:48 -05:00
Brad King
d7c7ab0927
STYLE: Nightly Date Stamp
2008-01-11 00:01:04 -05:00
Brad King
1c2ffbb5bc
BUG: Fix hang in Process_Kill on OS X caused by an OS bug in which a pipe read end cannot be closed if the pipe write end is open, the pipe is full, and another process is blocking waiting to write. Work around the problem by killing the children before closing the pipes.
2008-01-10 18:32:38 -05:00
Bill Hoffman
d92d51429e
BUG: fix for bug 6193, fix xcode depend helper
2008-01-10 15:17:23 -05:00
Brad King
564a23c6ba
COMP: Fix build on VS6.
2008-01-10 09:46:04 -05:00
Brad King
d53a7a38a1
STYLE: Nightly Date Stamp
2008-01-10 00:01:05 -05:00
Amitha Perera
4d9259c15b
STYLE: Spelling fixes on documentation
2008-01-09 22:09:19 -05:00
Alexander Neundorf
acb27977f0
ENH: sort the module files alphabetically when generating the documentation
...
of rht modules
Alex
2008-01-09 16:59:01 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Brad King
09e309c3d0
STYLE: Nightly Date Stamp
2008-01-09 00:01:03 -05:00
Bill Hoffman
3777f4139d
ENH: figure out long long value
2008-01-08 17:51:05 -05:00
Bill Hoffman
91edea1b8d
ENH: fix lots of warnings
2008-01-08 17:20:04 -05:00
Bill Hoffman
b9a54d392e
ENH: turn off for now
2008-01-08 16:28:46 -05:00
Bill Hoffman
50c5d5a3d5
ENH: fix leaks and turn on by default
2008-01-08 14:59:57 -05:00
Bill Hoffman
66fff9d4b7
ENH: add missing file
2008-01-08 11:43:07 -05:00
Bill Hoffman
c87853430e
ENH: add new system information class for use in ctest
2008-01-08 11:38:28 -05:00
Bill Hoffman
4b166fc319
BUG: make it compile on vs 6
2008-01-08 08:25:07 -05:00
Brad King
7f406eed93
STYLE: Nightly Date Stamp
2008-01-08 00:01:03 -05:00
Brad King
e2e8993eb3
BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include.
2008-01-07 23:08:42 -05:00
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
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
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
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
dcd9a1b59f
BUG: Make RAISE_SCOPE function work when variable is not defined.
2008-01-02 17:49:16 -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
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
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
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
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Brad King
cd8a2bbab6
ENH: Simplify Fortran module proxy dependency implementation by removing unnecessary target.
2007-12-30 12:23:54 -05:00
Brad King
e30e58d38b
STYLE: Nightly Date Stamp
2007-12-30 00:01:04 -05:00
Alexander Neundorf
f3ea6a351a
BUG: create modules documentation not only for the first documentation creation step
...
in cmake (the set ModulesFound wasn't cleared at the beginning of each
PrintDocumentation() function, so when documentation for modules was executed the second
time, ModulesFound already contained all modules and so no module was
documented)
Alex
2007-12-29 11:53:36 -05:00
Brad King
bd454247da
STYLE: Nightly Date Stamp
2007-12-29 00:01:04 -05:00
Brad King
3efc6e40cb
BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169 . If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
2007-12-28 23:07:26 -05:00
Brad King
f872c10b7e
ENH: Added method cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of CMAKE_BACKWARDS_COMPATIBILITY variable. Add cmLocalGenerator::NeedBackwardsCompatibility to simplify checks for compatibility requirements.
2007-12-28 23:07:14 -05:00
Brad King
edd5f1f5f1
COMP: Fix uninitialized variable and unused parameter warnings.
2007-12-28 22:29:19 -05:00
Brad King
59aa144516
ENH: Simplified and moved link script implementation up from cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and use for cmMakefileExecutableTargetGenerator too. This addresses bug #6192 .
2007-12-28 14:59:06 -05:00