Brad King
20455c699b
BUG: Another space-in-path fix.
2007-08-31 09:14:43 -04:00
Brad King
54a470dd03
BUG: Fix path to CMake executables when run from bootstrap build.
2007-08-31 09:09:41 -04:00
Alexander Neundorf
34e3ce9e4e
STYLE: rename FILENAME keyword to FILE, because FILENAME is used in no other
...
place
Alex
2007-08-30 16:22:01 -04:00
Alexander Neundorf
ae94a76b24
STYLE: "Build file" still doesn't work, but now it is at least a bit closer,
...
it needs some more support from CB
Alex
2007-08-30 11:36:44 -04:00
Alexander Neundorf
291b3d0543
STYLE: add the | to the docs
...
Alex
2007-08-30 10:26:01 -04:00
Alexander Neundorf
e47fbcb9a8
BUG: work if there are spaces in the path to cmake
...
Alex
2007-08-29 16:32:20 -04:00
Alexander Neundorf
c8276401c6
BUG: make paths with spaces work in CodeBlocks
...
-gcc is always gcc and not mingw
Alex
2007-08-29 15:19:15 -04:00
Alexander Neundorf
69e9848fb4
BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows
...
Alex
2007-08-29 14:35:06 -04:00
Alexander Neundorf
a4e6bd1515
STYLE: add docs about the supported regexp characters and CMAKE_MATCH_(0..9)
...
Alex
2007-08-29 14:05:46 -04:00
Alexander Neundorf
e80acd971c
ENH: also store the group matches from IF( MATCHES) in CMAKE_MATCH_(0..9)
...
Alex
2007-08-29 11:58:38 -04:00
Brad King
fb43c64476
BUG: Do not write symbolic make dependencies into depends.internal.
2007-08-29 11:30:53 -04:00
Alexander Neundorf
a392c7b5b1
ENH: don't hardcode gcc
...
-put the include dirs in the project file to enable autocompletion
-prepare for nmake
Alex
2007-08-29 10:12:09 -04:00
Alexander Neundorf
fc9f19b202
COMP: explicitely cast to int to silence warning with msvc8
...
Alex
2007-08-28 16:27:10 -04:00
Alexander Neundorf
c3b42e90ed
ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler)
...
Alex
2007-08-28 16:19:01 -04:00
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