Alexander Neundorf
172821eb38
STYLE: add links to docs
...
Alex
2007-08-28 15:13:01 -04:00
Alexander Neundorf
3daac0432c
STYLE: fix typo
...
Alex
2007-08-28 13:46:57 -04:00
Andy Cedilnik
b2ad9f1044
STYLE: Nightly Version update
2007-08-27 23:12:52 -04:00
Alexander Neundorf
94f0eca689
BUG: fix #5326 : source files with the same name in different groups lead to colliding object file names
...
Alex
2007-08-27 17:05:43 -04:00
Alexander Neundorf
3e12a6cb91
ENH: add install files generators for targets which have PUBLIC_HEADER,
...
PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the
public headers as include directory property for exported libraries
Alex
2007-08-27 16:04:57 -04:00
Alexander Neundorf
5bd9f5811d
COMP: disable nmake support until somebody tests it
...
Alex
2007-08-27 13:23:37 -04:00
Alexander Neundorf
c41f798383
COMP: make it build on NetBSD, which has separate curses and ncurses, so
...
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included
Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf
a764593f1d
COMP: remove unused variable
...
Alex
2007-08-27 08:49:41 -04:00
Andy Cedilnik
6d99c5af25
STYLE: Nightly Version update
2007-08-26 23:20:00 -04:00
Alexander Neundorf
e5dc217f4e
ENH: add all subdirs of the project to the kdevelop blacklist, so kdevelop
...
doesn't watch these dirs for added or remved files everytime it is started
Alex
2007-08-26 19:27:33 -04:00
Alexander Neundorf
f55dd81190
COMP: parent is not used anymore with this patch, since now the name is
...
given as a vector of components
Alex
2007-08-26 03:17:11 -04:00
Andy Cedilnik
831185510e
STYLE: Nightly Version update
2007-08-25 23:37:28 -04:00
Andy Cedilnik
01e62d2c70
STYLE: Nightly Version update
2007-08-24 23:15:17 -04:00
Alexander Neundorf
938ed7710a
STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of
...
cmInstallCommandArguments instead of deriving from it
Alex
2007-08-24 14:27:18 -04:00
Alexander Neundorf
9220e97401
BUG: fix #4057 (which had several duplicates): handle recursivew source groups better, i.e. multiple sourcegroups with the same end component work now
...
Alex
2007-08-24 14:21:49 -04:00
David Cole
9a4e7ea742
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
2007-08-24 13:30:41 -04:00
Alexander Neundorf
6d508a3094
BUG: handle source_group names which consist only of the delimiter the same was as empty source group names
...
Alex
2007-08-24 10:58:53 -04:00
Alexander Neundorf
d634c4e743
ENH: use cmCommandArgumentHelper for INSTALL(TARGETS, FILES, PROGRAMS,
...
EXPORTS), saves a lot of code. INSTALL(DIRECTORY) is still done the old way,
since this seems to be quite complicated
-for INSTALL(TARGETS ): also parse PUBLIC_HEADER, PRIVATE_HEADER, RESOURCE
Alex
2007-08-24 08:55:20 -04:00
Andy Cedilnik
091d1ccbb9
STYLE: Nightly Version update
2007-08-23 23:21:22 -04:00
Alexander Neundorf
be2705deaa
ENH: class for parsing the arguments for INSTALL()
...
Alex
2007-08-23 16:14:18 -04:00
Alexander Neundorf
2120ce4fcd
ENH: add support for a default value, fix case when there is no item except
...
the own group
Alex
2007-08-23 16:13:15 -04:00
Andy Cedilnik
c6e937ca53
STYLE: Nightly Version update
2007-08-22 23:17:00 -04:00
David Cole
ef22ad6bec
ENH: Handle FRAMEWORK and BUNDLE arguments in the INSTALL TARGETS command. Work in progress... More to come.
2007-08-22 11:32:48 -04:00
Alexander Neundorf
a43976e91d
BUG: if there is no match, don't construct the stl string from a NULL
...
pointer
Alex
2007-08-22 09:25:14 -04:00
Andy Cedilnik
a47d3da969
STYLE: Nightly Version update
2007-08-21 23:15:22 -04:00
Alexander Neundorf
7ff741f14d
STYLE: more space in the cmake_install.cmake script (easier to read)
...
Alex
2007-08-21 16:22:55 -04:00
Alexander Neundorf
9eb4ffcc3f
COMP: make it build on Linux
...
Alex
2007-08-21 16:21:09 -04:00
Alexander Neundorf
a8128f88b7
BUG: fix segfault if FindFiles() is called without actual match pattern
...
(e.g. FILE(GLOB /usr/include) instead of FILE(GLOB /usr/include/* )
#4620
Alex
2007-08-21 15:30:07 -04:00
Alexander Neundorf
326e114439
ENH: also check for .hpp and .cxx files
...
Alex
2007-08-21 13:47:29 -04:00
Alexander Neundorf
d0833b7bc3
COMP: header was missing...
...
Alex
2007-08-21 12:34:06 -04:00
Alexander Neundorf
c1b3484c2d
ENH: store the matches for paren-delimited subexpression in
...
CMAKE_MATCH_[0..9] variables, so to get multiple subexpressions from one
string STRING(REGEX MATCH) has to be executed only once
Alex
2007-08-21 11:30:09 -04:00
Alexander Neundorf
bf354fa308
STYLE: fix documentation for STRING(REPLACE) #5536
...
Alex
2007-08-21 10:56:25 -04:00
Andy Cedilnik
517a53e2d1
STYLE: Nightly Version update
2007-08-20 23:17:42 -04:00
Alexander Neundorf
7db8c86ac9
STYLE: add some newlines to cmake_install.cmake, so it's easier to read
...
-move the array behind the if, it's unused before it
Alex
2007-08-20 16:59:06 -04:00
David Cole
b867a85213
STYLE: Fix line length style errors introduced last week.
2007-08-20 11:03:16 -04:00
Alexander Neundorf
9d45638988
ENH: also process "~" and paths relative to CMAKE_CURRENT_SOURCE_DIR in Foo_DIR
...
Alex
2007-08-20 08:49:21 -04:00
Andy Cedilnik
129a3e9f9e
STYLE: Nightly Version update
2007-08-19 23:17:38 -04:00
Andy Cedilnik
4de188d98d
STYLE: Nightly Version update
2007-08-18 23:15:23 -04:00
Andy Cedilnik
2d8909562a
STYLE: Nightly Version update
2007-08-17 23:17:25 -04:00
Alexander Neundorf
e8ced6a0e2
COMP: include windows.h first, as it is done in the other source files
...
Alex
2007-08-17 10:14:32 -04:00
Alexander Neundorf
767f24aeda
ENH: patch from Miguel
...
- cleaning up a bit: static helper functions, remove unused scanner profiles, remove unused variables, etc.
- correct <name> entry in .project file
- converts the make command and other paths obtained from cygwin cmake to windows style paths
- provide environment setup for compiling with nmake
- create linked resources and path entries for executable/library_output_path's not subdirs of binary path
- fixes incorrect exclusions of output dirs when named the same as source dir
- excludes the CMakeFiles subdirs from the directories to scan for output targets
- removes possible redundant entries in <pathentry include ...>
- adds the all and preinstall targets to the target list
- removes the linked resources for non out-of-source builds and conflicting dirs
Alex
2007-08-17 10:05:39 -04:00
Alexander Neundorf
feda0041c3
STYLE: InitializeInternal() is unused
...
Alex
2007-08-17 09:33:29 -04:00
Alexander Neundorf
45da4d2f80
ENH: patch from Eric Noulard for an RPM package generator
...
It seems rpmbuild can't handle paths with spaces, it complains that
Buildroot takes only one tag (or something like this), quoting and escaping
don't seem to help.
Alex
2007-08-17 09:13:15 -04:00
Andy Cedilnik
889aeeb48c
STYLE: Nightly Version update
2007-08-16 23:24:30 -04:00
Alexander Neundorf
950c1359fa
COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist)
...
Alex
2007-08-16 16:50:27 -04:00
Alexander Neundorf
12f6383561
ENH: move the code for the NOTFOUND checking into its own function, so
...
Configure() gets easier to overview
-improve the error message, now it also says in which directories and for
which targets the missing variables are used
-minor speedup: the include directories don't have to be checked per target,
per directory is enough
Alex
2007-08-16 15:33:17 -04:00
Mathieu Malaterre
964719128c
COMP: Directory and Glob have pointer data members
2007-08-16 07:38:47 -04:00
Andy Cedilnik
f9cbfbb458
STYLE: Nightly Version update
2007-08-15 23:09:40 -04:00
David Cole
f1115a30ee
COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined.
2007-08-15 11:38:13 -04:00
Alexander Neundorf
2f23ecdb8a
ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
...
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters
Alex
2007-08-15 10:26:50 -04:00
David Cole
bdeb4ad217
COMP: Suppress Microsoft deprecation warnings when building kwsys .c and .cxx files. This way, other projects that include kwsys will not see the warnings in kwsys .c and .cxx files, but they can still see the warnings in their own source files if they want to...
2007-08-15 09:25:58 -04:00
Alexander Neundorf
911613edf0
COMP: fix warning about comparison signed - unsigned
...
Alex
2007-08-15 08:47:28 -04:00
Alexander Neundorf
1dde4ab36c
COMP: fix build on HPUX, snprintf apparently doesn't work there
...
Alex
2007-08-15 08:28:08 -04:00
Andy Cedilnik
96a93400c5
STYLE: Nightly Version update
2007-08-14 23:15:22 -04:00
David Cole
0e96f06954
ENH: Improve framework support in the makefile generator to match the support just added to the Xcode generator. BUG: Remove spurious warning and eliminate empty Libraries subdir inside built framework.
2007-08-14 14:12:08 -04:00
Alexander Neundorf
a33e059e41
STYLE: document the behaviour of UTILITY_SOURCE in cross compiling mode
...
Alex
2007-08-14 11:58:21 -04:00
David Cole
fa61182de8
ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
2007-08-14 11:45:15 -04:00
Alexander Neundorf
f13c3eef83
COMP: patch from Mathieu: fix warning about unused variables in bootstrap
...
mode
Alex
2007-08-14 10:27:34 -04:00
Alexander Neundorf
eff7981b57
STYLE: another patch from Mathieu with some comments
...
Alex
2007-08-14 10:25:23 -04:00
Alexander Neundorf
dfbd4ce0f2
ENH: deb generator: don't use the system provided ar, but do it yourself
...
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms
Alex
2007-08-14 08:40:40 -04:00
Andy Cedilnik
fbf5025192
STYLE: Nightly Version update
2007-08-13 23:11:45 -04:00
Andy Cedilnik
54f0a2f0a0
STYLE: Nightly Version update
2007-08-12 23:11:44 -04:00
Andy Cedilnik
bd275f0d3b
STYLE: Nightly Version update
2007-08-11 23:21:08 -04:00
Andy Cedilnik
1313cb16a6
STYLE: Nightly Version update
2007-08-10 23:17:21 -04:00
Bill Hoffman
fa46cb5572
ENH: fix output and valgrind truncation issue
2007-08-10 16:28:48 -04:00
Alexander Neundorf
a793daf228
ENH: print a warning if UTILITY_SOURCE is used in cross compiling mode
...
-make it possible to preload the cache with the command in cross compiling
mode
Alex
2007-08-10 15:02:38 -04:00
Brad King
c6092b7e5e
BUG: Fixed passing of configuration names to GetRealDependency and ConstructScript. Added GetConfigName helper method to do this.
2007-08-10 13:02:59 -04:00
Bill Hoffman
8b07c96090
ENH: fix memory leak
2007-08-10 11:15:19 -04:00
Alexander Neundorf
512e0d40ef
ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
...
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so
the platform modules can set them again for the target system
Alex
2007-08-10 09:07:39 -04:00
Andy Cedilnik
7866710465
STYLE: Nightly Version update
2007-08-09 23:17:00 -04:00
Alexander Neundorf
7b917000aa
STYLE: use correct case for cmGlobalUnixMakefileGenerator3
...
make export() work with spaces in the path
Alex
2007-08-09 15:57:30 -04:00
Alexander Neundorf
176fe63d15
ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in
...
cmMakefile.cxx, but now in the platform files and are now valid for the
target platform, not the host platform.
New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be
used in all cmake files which are executed before
CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old
set is set to the new one in CMakeDetermineSystem.cmake and reset before the
system platform files are loaded, so custom language or compiler modules
which use these should still work.
Alex
2007-08-09 14:45:23 -04:00
Alexander Neundorf
9bd32386c2
COMP: this copy of curl is unused, the one in Utilities/cmcurl/ is used
...
Alex
2007-08-09 14:26:10 -04:00
Alexander Neundorf
6c5fb80656
STYLE: fix typo
...
Alex
2007-08-09 09:03:25 -04:00
Alexander Neundorf
112747e4e2
STYLE: fix typo
...
Alex
2007-08-09 08:49:49 -04:00
Alexander Neundorf
9ec10993f8
BUG: properties and module names are case sensitive
...
Alex
2007-08-09 08:48:56 -04:00
Andy Cedilnik
f9dea43169
STYLE: Nightly Version update
2007-08-08 23:15:42 -04:00
Alexander Neundorf
406349a1d1
COMP: silence warnings
...
Alex
2007-08-08 15:44:02 -04:00
Alexander Neundorf
c5d79a298d
BUG: register the rpm generator for RPM
...
Alex
2007-08-08 14:44:54 -04:00
Alexander Neundorf
4ba24ce474
ENH: patch from Mathieu: more entries in the debian control file
...
Alex
2007-08-08 14:18:13 -04:00
Alexander Neundorf
9deca5887d
ENH: remove the watch for the upper case variable name, it breaks the
...
feature summary, which needs to check for both the upper case and original
case _FOUND variables
Alex
2007-08-08 13:05:27 -04:00
Alexander Neundorf
7432ef206e
ENH: add empty RPM package generator, Eric Noulard wants to work on it
...
Alex
2007-08-08 11:33:42 -04:00
Mathieu Malaterre
8576d61989
ENH: Remove extra ;
2007-08-08 08:41:07 -04:00
Andy Cedilnik
bdd7290cee
STYLE: Nightly Version update
2007-08-07 23:10:12 -04:00
Alexander Neundorf
2f06857635
COMP: also commit the header...
...
Alex
2007-08-07 16:26:59 -04:00
Alexander Neundorf
8d7b502337
ENH: add global properties for collecting enabled/disabled features during
...
the cmake run and add macros print_enabled/disabled_features() and
set_feature_info(), so projects can get a nice overview at the end of the
cmake run what has been found and what hasn't
FIND_PACKAGE() automatically adds the packages to these global properties,
except when used with QUIET
Maybe this can also be useful for packagers to find out dependencies of
projects.
Alex
2007-08-07 15:41:57 -04:00
Alexander Neundorf
1059a8891d
STYLE: I think the comment (and the book) were wrong about the naming of
...
this file
Alex
2007-08-07 15:09:21 -04:00
Brad King
d926792066
ENH: Replaced dependency integrity map with an explicit map from object file to source file for each language in each target. This simplifies creation of implicit dependency scanning rules and allows more than one object file in a target to start dependency scanning with the same source file.
2007-08-07 13:57:13 -04:00
Alexander Neundorf
e0b86a4496
ENH: don't create a CodeBlocks workspace, the CodeBlocks projects cover
...
everything what's needed
Alex
2007-08-07 00:00:32 -04:00
Andy Cedilnik
d43269847a
STYLE: Nightly Version update
2007-08-06 23:16:33 -04:00
Bill Hoffman
01c3c3dee6
ENH: change error to warning so ctesttest3 passes
2007-08-06 17:09:47 -04:00
Alexander Neundorf
f23169b01a
ENH: another fix for the deb generator by Mathieu
...
Alex
2007-08-06 13:31:37 -04:00
Alexander Neundorf
e41e2e6b1a
STYLE: fix line lengths
...
Alex
2007-08-06 13:24:42 -04:00
Alexander Neundorf
4040f5f1bf
BUG: patch from Mathieu: the md5sums were not correct
...
Alex
2007-08-06 09:03:10 -04:00
Andy Cedilnik
a442e0e0cb
STYLE: Nightly Version update
2007-08-05 23:17:19 -04:00
Andy Cedilnik
f2d2dd9e2f
STYLE: Nightly Version update
2007-08-04 23:10:40 -04:00
Andy Cedilnik
0b9d3775ec
STYLE: Nightly Version update
2007-08-03 23:07:44 -04:00
Bill Hoffman
65ae576c01
ENH: make sure there is an error and notify user if nightly start time not set
2007-08-03 16:44:57 -04:00
Bill Hoffman
e8f3b5ff00
ENH: show files as untested if no lines are covered
2007-08-03 16:44:04 -04:00
Bill Hoffman
1d250298d0
ENH: fatal error if cvs update fails
2007-08-03 16:42:47 -04:00
Bill Hoffman
1a11a2d0c0
ENH: add a check to make sure nightly start time was specified
2007-08-03 16:41:49 -04:00
Bill Hoffman
6baaf296a5
ENH: add another valgrind error type
2007-08-03 16:35:22 -04:00
Brad King
bffcff4530
ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation.
2007-08-03 16:31:08 -04:00
Brad King
d7118006de
BUG: Target exclusion-from-all tests should always use the root local generator associated with the all target being tested.
2007-08-03 15:44:25 -04:00
Sean McBride
11604e72c4
COMP: fixed compiler warning in sprintf usage
2007-08-03 15:43:31 -04:00
Alexander Neundorf
68674bd0d7
ENH: better error messages from the debian package generator
...
-don't display the cpack help if a generator failed with some problem
-check for cmSystemTools::GetErrorOccuredFlag()
Alex
2007-08-03 15:26:30 -04:00
Brad King
bf0c200f0a
ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target. Transformed NeedRequiresStep to use it.
2007-08-03 09:39:32 -04:00
Andy Cedilnik
1c508b94ae
STYLE: Nightly Version update
2007-08-02 23:18:32 -04:00
Brad King
8dc897b60c
BUG: Removing accidental commit.
2007-08-02 14:28:45 -04:00
Brad King
695424f6b7
BUG: Quick-fix for accidental commit.
2007-08-02 14:28:00 -04:00
Brad King
8b0575c4ce
ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target.
2007-08-02 14:23:46 -04:00
Brad King
9f2de08f90
ENH: Added cmTarget::GetLanguages method to centralize computation of the list of languages compiled in a target.
2007-08-02 13:38:39 -04:00
Brad King
cd6abe486d
ENH: Simplify makefile target generator listing of object files to clean.
2007-08-02 09:37:10 -04:00
Alexander Neundorf
674b8a7aab
COMP: fix warning
...
Alex
2007-08-02 08:24:18 -04:00
Andy Cedilnik
dfd6fe2005
STYLE: Nightly Version update
2007-08-01 23:12:01 -04:00
Alexander Neundorf
8046390f1e
ENH: if no COMPONENT is specified, make this install item part of the
...
"Unspecified" component -> if no components are used at all, no change in
behaviour, if components are used completely, no change in behaviour, since
this default will be overridden everywhere, if components where used partly,
it is now possible to install only the unspecified items (e.g. everything
which wasn't marked as "Development")
Alex
Alex
2007-08-01 17:10:22 -04:00
Alexander Neundorf
d58b93a5b1
ENH: separate the commands into current and compat as in cmake
...
Alex
2007-08-01 15:51:05 -04:00
Brad King
ea874415d9
ENH: Moved GetTargetDirectory method up to cmLocalGenerator. This provides a common interface to something that was implemented in most local generators anyway.
2007-08-01 15:25:40 -04:00
Alexander Neundorf
2246e0336d
BUG: also offer the extra generators in CMakeSetup
...
Alex
2007-08-01 14:58:55 -04:00
David Cole
ee91e25499
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
2007-08-01 13:04:45 -04:00
Alexander Neundorf
a0533be267
STYLE: some more tuning for the comment text
...
Alex
2007-08-01 11:59:51 -04:00
Alexander Neundorf
63e2c3bbf2
ENH: works also with nmake, tested by Jeff
...
Alex
2007-08-01 11:50:26 -04:00
Brad King
ecff1c37da
BUG: Do not recognize preprocessor definition flags for the linker which has no preprocessor but does have flags starting with /D.
2007-08-01 11:39:51 -04:00
Brad King
e0fc8b2995
BUG: <CONFIG>_LOCATION property should use the config name in the directory and not $(OutDir). This addresses bug#5363.
2007-08-01 11:36:35 -04:00
Brad King
f0d1e1626d
COMP: Fix warning about not being able to automatically generate a copy constructor.
2007-08-01 10:53:28 -04:00
Alexander Neundorf
d486e7c871
COMP: also build the static dummy loader on Cray Catamount
...
Alex
2007-08-01 10:07:46 -04:00
Alexander Neundorf
f7f522e61a
ENH: add Eclipse CDT4 generator, patch from Miguel A. Figueroa-Villanueva
...
Alex
2007-08-01 09:18:50 -04:00
Andy Cedilnik
adb1b07e4f
STYLE: Nightly Version update
2007-07-31 23:16:07 -04:00
Alexander Neundorf
67672b814a
ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
...
check_c_source_compiles() and check_cxx_source_compiles()
-TRY_RUN in crosscompiling mode: copy the created executables to
CMAKE_BINARY_DIR so the user can run them manually on the target
Alex
2007-07-31 14:52:01 -04:00
Bill Hoffman
be1b19ada0
BUG: fix DLL and DEF being lost and add real support for /DEF: /DLL does not have an entry so just let it pass to advanced command line
2007-07-31 11:23:15 -04:00
Andy Cedilnik
7d34b7de7c
STYLE: Nightly Version update
2007-07-30 23:07:44 -04:00
Bill Hoffman
c693a23a7d
ENH: use gnu tar for cygwin
2007-07-30 22:51:21 -04:00
Bill Hoffman
bc2accc65e
STYLE: fix warning
2007-07-30 21:38:50 -04:00
Alexander Neundorf
220fe4f3ce
COMP: add a dynamic loader for systems which don't support dynamic loading, so this is handled in kwsys and not every project using this has to care for it
...
Alex
2007-07-30 15:52:36 -04:00
Alexander Neundorf
a9d19d884e
ENH: FORCE the values in the cache, otherwise the file is useless
...
Alex
2007-07-30 14:46:57 -04:00
Andy Cedilnik
e9b3ae3d11
STYLE: Nightly Version update
2007-07-29 23:13:19 -04:00
Andy Cedilnik
5441900a9f
STYLE: Nightly Version update
2007-07-28 23:32:53 -04:00
Andy Cedilnik
1d5514040a
STYLE: Nightly Version update
2007-07-28 00:33:15 -04:00
Alexander Neundorf
42f9a6eb08
STYLE: fix line length
...
Alex
2007-07-27 13:12:36 -04:00
Bill Hoffman
2745742e09
STYLE: fix some kwstyle errors
2007-07-27 10:55:24 -04:00
Alexander Neundorf
d6a0c330bc
ENH: deb generator can now generate deb packages
...
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules
Alex
2007-07-27 08:59:59 -04:00
Andy Cedilnik
e2aeecc294
STYLE: Nightly Version update
2007-07-27 04:22:32 -04:00
Bill Hoffman
3017259ac4
ENH: add test output to valgrind output and truncate output for valgrind
2007-07-26 16:38:00 -04:00
Bill Hoffman
3f00d3cbc9
ENH: fix warning on win64
2007-07-26 14:36:06 -04:00
Andy Cedilnik
d0561a3d29
STYLE: Nightly Version update
2007-07-26 11:21:47 -04:00
Alexander Neundorf
0ea4c7b784
STYLE: fix line lengths
...
Alex
2007-07-26 08:40:51 -04:00
Andy Cedilnik
9202d27465
STYLE: Nightly Version update
2007-07-26 00:08:00 -04:00
Bill Hoffman
ca31d33151
ENH: fix bug with valgrind output being truncated
2007-07-25 16:37:50 -04:00
Alexander Neundorf
9c2d6f98d7
ENH: apply patch from Mathieu which creates a deb file (not finishsed yet)
...
Alex
2007-07-25 13:08:17 -04:00
Alexander Neundorf
8796bfcbaf
COMP: silence warnings
...
Alex
2007-07-25 11:41:25 -04:00
Alexander Neundorf
a39aff52a0
ENH: add an empty debian package generator, Mathieu volunteered to fill it
...
:-)
Alex
2007-07-25 10:57:33 -04:00
Bill Hoffman
f4ac0f8373
STYLE: fix compiler warning
2007-07-25 09:22:19 -04:00
Andy Cedilnik
ef1e66e92f
STYLE: Nightly Version update
2007-07-25 04:18:42 -04:00
Bill Hoffman
69b7ba3543
ENH: fix resource leak
2007-07-24 15:55:03 -04:00
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
Brad King
c3fed205e9
COMP: Remove shadowed local.
2007-07-02 16:04:12 -04:00
Alexander Neundorf
2e56fa4808
ENH: add framework for unified handling of arguments to cmake commands,
...
example see cmExportCommand.cxx
Alex
2007-07-02 15:43:21 -04:00
Brad King
7f29f8966d
ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post.
2007-07-02 14:56:57 -04:00
Brad King
cac79e92b8
STYLE: Fixed line-too-long, fixed indentation, removed trailing whitespace, added function separator comment lines.
2007-07-02 13:32:41 -04:00
Brad King
39d1343896
BUG: Fix install_name_tool update of the executable in an installed bundle on OSX. This addresses bug#4534.
2007-07-02 11:31:10 -04:00
Alexander Neundorf
611f86b7f6
COMP: fix build with msvc 6, the enums are now part of a class which is
...
already completely parsed
Alex
2007-07-02 11:24:44 -04:00
Brad King
c83ae4673d
ENH: Improved indentation of generated cmake_install.cmake code.
2007-07-02 11:02:52 -04:00
Andy Cedilnik
5c00dda8ce
STYLE: Nightly Version update
2007-07-01 16:53:22 -04:00
Andy Cedilnik
fe082afc5c
STYLE: Nightly Version update
2007-06-30 22:33:29 -04:00
Andy Cedilnik
d236641aaf
STYLE: Nightly Version update
2007-06-30 21:06:31 -04:00
Andy Cedilnik
d65aaebf92
STYLE: Nightly Version update
2007-06-29 16:29:40 -04:00
Brad King
fdf7b203af
ENH: First step of install script generator cleanup. Each configuration to be installed is now separately handled instead of using variables to store per-configuration names. For targets the component and configuration install-time tests are now done in the install script instead of in the FILE(INSTALL) command. This cleans things up like not trying to strip a file that was optionally not installed. It also simplifies the code for install_name adjustment on OSX. This commit is surrounded by the tags CMake-InstallGeneratorCleanup1-pre and CMake-InstallGeneratorCleanup1-post.
2007-06-28 16:11:18 -04:00
Alexander Neundorf
33e9becd6f
COMP: fix warning about unused parameter
...
Alex
2007-06-28 15:28:00 -04:00
Alexander Neundorf
151d55557e
ENH: generate separate documentation for the commands, compatiblity
...
commands, modules and properties as html, text and man pages.
The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules,
so they are easy to type.
Alex
2007-06-28 15:04:28 -04:00
Andy Cedilnik
95f55515fa
STYLE: Nightly Version update
2007-06-28 13:08:26 -04:00
Alexander Neundorf
c95dc91237
ENH:
...
-in the full documentation there is now an extra section for
compatibility commands, so users see which commands they shouldn't use
-cmake -h <command> now also works with lower case commands
--help-fullm --help-command, --help-module and --help-property now determine
the output format from the extension of the given filename
Let me know if there are some things I overlooked.
Alex
2007-06-28 11:00:57 -04:00
Alexander Neundorf
789f0b26d9
COMP: fix typo
...
Alex
2007-06-28 10:22:58 -04:00
Alexander Neundorf
43de8c8628
ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to do
...
something like this:
ENABLE_LANGUAGE(ASM-ATT)
IF(CMAKE_ASM-ATT_COMPILER_WORKS)
... do assembler stufff
ELSE(CMAKE_ASM-ATT_COMPILER_WORKS)
... fallback to generic C/C++
ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)
Alex
2007-06-28 09:09:26 -04:00
Brad King
53f39ad566
BUG: Do not install the import library for an executable that does not have ENABLE_EXPORTS set.
2007-06-27 16:14:50 -04:00
Brad King
c0d3ab2d2b
BUG: Need to compute the correct versioned name for executables on cygwin. This addresses bug#5238.
2007-06-27 16:10:39 -04:00
Alexander Neundorf
cfe9fda9fe
ENH: here we really want only non-imported targets, as discussed with Brad
...
Alex
2007-06-27 15:42:33 -04:00
Brad King
eab81489f1
ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
2007-06-27 12:07:34 -04:00
Brad King
6352bd5cd3
BUG: Fixed spelling of globally in global property names.
2007-06-27 12:05:59 -04:00
Brad King
9dec9a0c3b
COMP: Fix for platforms that do not have siginfo on their signal handlers.
2007-06-27 11:39:16 -04:00
Andy Cedilnik
25e97d20ce
STYLE: Nightly Version update
2007-06-27 04:49:27 -04:00
Alexander Neundorf
b1aac1fb0d
ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since
...
CMAKE_SYSTEM_NAME may already have been set when crosscompiling
Alex
2007-06-26 19:54:00 -04:00
Alexander Neundorf
b459ac2a1e
COMP: fix broken tests for now
...
Alex
2007-06-26 17:14:13 -04:00
Alexander Neundorf
acd71c8330
COMP: fix bootstrapping
...
Alex
2007-06-26 17:08:29 -04:00
Ken Martin
571b3088d5
ENH: add SetProperties into bootstrap
2007-06-26 14:48:06 -04:00
Alexander Neundorf
2504ffe8c3
STYLE: rename chain to inherit in the docs
...
Alex
2007-06-26 13:50:14 -04:00
Alexander Neundorf
f8261ff9f7
STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS
...
to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS
Alex
2007-06-26 13:05:27 -04:00
Alexander Neundorf
5fb7dab541
ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load
...
CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset
when using cmake for cross compiling
use type STRING instead of FILEPATH since otherwise a strange filename was
generated
Alex
2007-06-26 13:00:42 -04:00
Andy Cedilnik
2b1ae31453
STYLE: Nightly Version update
2007-06-26 04:55:14 -04:00
Ken Martin
3bf92ad4b4
COMP: fix warnings
2007-06-25 12:50:29 -04:00
Andy Cedilnik
c1467ff991
STYLE: Nightly Version update
2007-06-25 12:07:22 -04:00
Ken Martin
0b9644910d
ENH: added the ability to document variables and cached_variables
2007-06-25 10:34:21 -04:00
Ken Martin
e35da01feb
ENH: added cmGetPropertyCommand
2007-06-25 10:33:25 -04:00
Ken Martin
509f1fb9cb
ENH: some property cleanup and added GetProperty
2007-06-25 09:51:37 -04:00
Andy Cedilnik
2d1c85ade3
STYLE: Nightly Version update
2007-06-24 06:38:05 -04:00
Andy Cedilnik
ba46a225dc
STYLE: Nightly Version update
2007-06-23 01:02:16 -04:00
Alexander Neundorf
f7d4f27c2a
ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet working
...
STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases)
Alex
2007-06-22 09:58:10 -04:00
Alexander Neundorf
1d9889c5d3
ENH: put compatibility commands in extra section and prepare for creating
...
separate man pages for properties, modules, commands and compatibility
commands
Alex
2007-06-22 08:44:51 -04:00
Alexander Neundorf
1383368628
ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the target
...
platform doesn't support shared libraries
Alex
2007-06-21 16:23:54 -04:00
Alexander Neundorf
e126db1f71
BUG: handle dependencies to imported targets better: don't create a
...
dependency if the target name was not listed in DEPENDS, if it was listed in
DEPENDS, create a dependency to the file
Seems to work, but have to check with Brad.
Alex
2007-06-21 13:08:22 -04:00
Andy Cedilnik
6e5b543c52
STYLE: Nightly Version update
2007-06-21 06:32:22 -04:00
Andy Cedilnik
9b87e2ad7d
STYLE: Nightly Version update
2007-06-21 04:47:55 -04:00