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
Alexander Neundorf
1cf1780f6e
STYLE: GetProjectName() is const
...
Alex
2007-06-20 23:01:36 -04:00
Andy Cedilnik
4bf3723ac1
STYLE: Nightly Version update
2007-06-20 03:08:41 -04:00
Alexander Neundorf
fa26785bd3
COMP: fix build under windows
...
Alex
2007-06-19 14:57:55 -04:00
Alexander Neundorf
c0d000d234
ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,
...
tests still have to be added
Alex
2007-06-19 13:10:21 -04:00
Alexander Neundorf
617602e9e9
STYLE: preparations for the INSTALL(EXPORT ...) generator
...
-move std::string Destination to cmInstallGenerator, since all (except
the script one) have it and add a const accessor so it can be queried
-use temporary variables in cmInstallCommand for the generators so they can be reused easier
-some more const
Alex
2007-06-19 11:11:06 -04:00
Brad King
f786f3ae32
COMP: Work-around warning about static specifier on HP compiler.
2007-06-19 09:18:22 -04:00
Andy Cedilnik
b22ae77fb8
STYLE: Nightly Version update
2007-06-18 17:14:25 -04:00
Brad King
35936433e1
ENH: Merging changes from branch CMake-SourceFile2-b between tags
...
CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This
commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and
CMake-SourceFile2-b-mp1-post on the trunk.
The changes re-implement cmSourceFile and the use of it to allow
instances to be created much earlier. The use of cmSourceFileLocation
allows locating a source file referenced by a user to be much simpler
and more robust. The two SetName methods are no longer needed so some
duplicate code has been removed. The strange "SourceName" stuff is
gone. Code that created cmSourceFile instances on the stack and then
sent them to cmMakefile::AddSource has been simplified and converted
to getting cmSourceFile instances from cmMakefile. The CPluginAPI has
preserved the old API through a compatibility interface.
Source lists are gone. Targets now get real instances of cmSourceFile
right away instead of storing a list of strings until the final pass.
TraceVSDependencies has been re-written to avoid the use of
SourceName. It is now called TraceDependencies since it is not just
for VS. It is now implemented with a helper object which makes the
code simpler.
2007-06-18 11:59:23 -04:00
Alexander Neundorf
ef81ac50e5
ENH: NSIS exists also for Linux, not only Windows, so enable it there too
...
patch by Michal Čihař <michal (AT) cihar.com>
Alex
2007-06-18 09:00:33 -04:00
Andy Cedilnik
dbbd521461
STYLE: Nightly Version update
2007-06-17 20:50:38 -04:00
Andy Cedilnik
ddc2d7e93f
STYLE: Nightly Version update
2007-06-17 08:24:40 -04:00
Andy Cedilnik
278bbdb7c2
STYLE: Nightly Version update
2007-06-16 17:35:36 -04:00
Alexander Neundorf
f6a6556e3c
COMP: include cmExternalMakefileProjectGenerator.h
...
Alex
2007-06-15 16:09:30 -04:00
Alexander Neundorf
6d200fa6be
STYLE: minor fixes
...
Alex
2007-06-15 16:07:16 -04:00
Alexander Neundorf
510cb415d4
COMP: forgot to commit this one
...
Alex
2007-06-15 15:33:57 -04:00
Alexander Neundorf
0ef8da2a53
STYLE: remove code duplication between PrepareScriptReference and
...
GetScriptReference, and make the logic for getting the filename public, so
it can be used e.g. for exporting
Alex
2007-06-15 14:27:33 -04:00
Alexander Neundorf
8237518994
BUG: don't strip static libraries, it removes their symbol table, dynamic
...
libs have an extra symbol table so they still work stripped
Alex
2007-06-15 13:00:54 -04:00
Alexander Neundorf
69d3628461
BUG: don't run strip on OPTIONAL install targets if the file doesn't exist
...
Alex
2007-06-15 11:12:07 -04:00
Alexander Neundorf
fe45c19666
STYLE: add some more line breaks so it should be easier to read
...
Alex
2007-06-15 10:34:40 -04:00
Alexander Neundorf
9d4f3a0686
STYLE: remove duplicate non-const accessors GetLocalGenerator(int) and
...
GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is
one const accessor which is even faster since it returns a reference
(instead of copying a vector)
-more const to ensure that this the returned local generators don't actually
get modified
-removed duplicated code in GetCTestCommand() and GetCPackCommand()
-added some const accessors
Alex
2007-06-15 10:10:24 -04:00
Andy Cedilnik
8934172db7
STYLE: Nightly Version update
2007-06-15 08:19:31 -04:00
Alexander Neundorf
2f6f3316e4
STYLE: fix typo
...
Alex
2007-06-14 13:57:00 -04:00
Bill Hoffman
21b5c7d2b4
ENH: add more verbose output
2007-06-14 13:05:09 -04:00
Alexander Neundorf
f80d98bc09
ENH: support 7zip for creating zip files (not 7z files)
...
Alex
2007-06-14 12:03:53 -04:00
Alexander Neundorf
68cb7b3173
STYLE: add comment about the -D -P order and fix typo in doc
...
Alex
2007-06-14 08:49:57 -04:00
Andy Cedilnik
9c08054016
STYLE: Nightly Version update
2007-06-14 07:08:58 -04:00
Andy Cedilnik
64fedd8835
STYLE: Nightly Version update
2007-06-14 01:21:54 -04:00
Alexander Neundorf
698ca6e956
STYLE: add documentation for FILE(REMOVE ...) and FILE(REMOVE_RECURSE ...)
...
FILE(REMOVE ...) works only for files, not for directories, REMOVE_RECURSE
works for both, it seems having both is not necessary
Alex
2007-06-13 14:36:26 -04:00
Alexander Neundorf
8c4fc5fa71
COMP: include cmStandardIncludes.h instead of <vector> and <string>, this
...
should fix the build problem on AIX
Alex
2007-06-13 12:52:29 -04:00
Alexander Neundorf
732788d191
BUG: make MARK_AS_ADVANCED() scriptable, because this is the only reason
...
many cmake FindXXX.cmake modules can't be used in script mode and also
FindUnixMake.cmake, which is required by the CTEST_BUILD() command
Alex
2007-06-13 10:54:28 -04:00
Andy Cedilnik
17b5c79d15
STYLE: Nightly Version update
2007-06-12 17:02:41 -04:00
David Cole
07837ebe3a
BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path.
2007-06-12 11:11:07 -04:00
Alexander Neundorf
6e28861c18
ENH: remove non/scriptable cmake commands from the script handler in ctest,
...
as discussed with David. This also gives a better ctest man page with just
the commands you should actually use in ctest scripts.
Until now these commands were more or less executed, but e.g. add_executable() didn't create an executable, project() failed with an
error. Now you get an error instantly if using one of these commands.
Alex
2007-06-12 10:56:40 -04:00
Bill Hoffman
c64447c368
ENH: make sure working directory is set
2007-06-12 10:19:13 -04:00
Alexander Neundorf
e9c163762e
STYLE: remove argument bool fast, it was unused
...
Alex
2007-06-12 09:40:36 -04:00
Alexander Neundorf
3ca8c8d946
COMP: remove warning about unused variable
...
Alex
2007-06-12 08:23:24 -04:00
Andy Cedilnik
b063c0c07b
STYLE: Nightly Version update
2007-06-11 17:00:56 -04:00
Alexander Neundorf
6c02ec1a40
STYLE: add a comment about SetLanguageEnabled()
...
-add a Generic.cmake for target platforms without operating system
Alex
2007-06-11 15:47:35 -04:00
David Cole
ed1a04360a
BUG: Never return a string containing a ":" from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with ":" in the short path. Also, fix the Bullseye coverage handler so that the file names and paths match in both the coverage summary and the individual coverage logs.
2007-06-11 15:36:50 -04:00
Alexander Neundorf
422dc631b6
ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the
...
second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.
Alex
2007-06-11 15:31:42 -04:00
Alexander Neundorf
1b68e41b08
STYLE: determineLanguageCalled removed, now the conditional code is directly
...
called in the only place where it could be set to true
Alex
2007-06-11 14:28:31 -04:00
Brad King
dfb79bea23
STYLE: Removed unused reference to cmMakeDepend.
2007-06-11 12:40:41 -04:00
Brad King
28e94533dd
BUG: More problems with cmMakefile copy-constructor. It seems the regular expression class cannot be assigned but does not enforce this limitation at compile time.
2007-06-11 10:25:40 -04:00
Alexander Neundorf
4ed167090e
ENH: enable cvs or svn support if the source has the CVS/.svn subdirs
...
Alex
2007-06-10 19:51:26 -04:00
Andy Cedilnik
e3e6b02096
STYLE: Nightly Version update
2007-06-10 15:56:38 -04:00
Andy Cedilnik
5361794aca
STYLE: Nightly Version update
2007-06-09 02:39:25 -04:00
Brad King
5e0da0b0eb
BUG: Copy constructor needs to copy regular expression members.
2007-06-08 17:44:36 -04:00
Alexander Neundorf
33fe9c027f
ENH: fail if an unknown target is listed
...
Alex
2007-06-08 16:19:13 -04:00
Alexander Neundorf
e37f8e2964
STYLE: create command documentation for ctest
...
I think some of the cmake commands should be removed from ctest if possible,
like add_executable etc.
Alex
2007-06-08 16:06:33 -04:00
Ken Martin
d1c4a0bf9e
BUG: fix timeout bug with global timeouts such as DART_TESTING_TIMEOUT
2007-06-08 14:16:04 -04:00
Brad King
546d7e72d9
BUG: Fixed spelling and formatting of new documentation.
2007-06-08 13:43:17 -04:00
Alexander Neundorf
96bb8da184
COMP: less warnings
...
Alex
2007-06-08 12:42:29 -04:00
Bill Hoffman
93c0384f48
ENH: use new covbr that does not stop on error
2007-06-08 12:29:40 -04:00
Alexander Neundorf
0ddc9f62e5
ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
...
write generators for IDE projects, which use already existing makefiles
(current the kdevelop generator)
-first stept of the export interface, iniitial export() command
-more replacements for the FIND_XXX docs
Alex
2007-06-08 11:57:16 -04:00
Andy Cedilnik
eec01a31d7
STYLE: Nightly Version update
2007-06-08 09:29:50 -04:00
Alexander Neundorf
01eea01f21
STYLE: fix typo (bug #5115 )
...
Alex
2007-06-08 09:19:19 -04:00
Alexander Neundorf
e737d7d07a
STYLE: add documentation for CMAKE_FIND_ROOT_PATH
...
Alex
2007-06-07 14:57:32 -04:00
Alexander Neundorf
ea26cc537e
BUG: fix Bootstrap test
...
Alex
2007-06-07 14:31:56 -04:00
Alexander Neundorf
b956fc2406
STYLE: remove out commented code
...
Alex
2007-06-07 13:51:17 -04:00
Alexander Neundorf
18cc1228bb
ENH: also remove uninitialized from the cache
...
Alex
2007-06-07 10:41:52 -04:00
Alexander Neundorf
ae035f7c90
BUG: fix #5137 , now with the modified CMakeDetermineSystem.cmake the
...
CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx
ones
Alex
2007-06-07 09:37:54 -04:00
Alexander Neundorf
8d0550e4e2
STYLE: remove wrong comments
...
Alex
2007-06-07 08:29:15 -04:00
Brad King
db0f26e852
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
2007-06-06 16:20:02 -04:00
Andy Cedilnik
d016b69af3
STYLE: Nightly Version update
2007-06-06 15:05:36 -04:00
Andy Cedilnik
62e7e34514
STYLE: Nightly Version update
2007-06-06 11:46:12 -04:00
Bill Hoffman
af0b15aff4
ENH: remove some stuff to improve coverage
2007-06-06 11:26:06 -04:00
Ken Martin
a175613a56
BUG: better passing of global TIMEOUT to internal ctest invocaitons
2007-06-06 11:02:24 -04:00
Bill Hoffman
80de27ace5
ENH: fix case problem with drive letters and cmake vs CMakeSetup build.make changing
2007-06-06 10:44:20 -04:00
Alexander Neundorf
c9f1af3913
ENH: add IF(IS_ABSOLUTE path), so no regex matching is required in the cmake scripts
...
Alex
2007-06-06 08:49:18 -04:00
Alexander Neundorf
1358009382
STYLE: fix comment
...
Alex
2007-06-05 16:37:27 -04:00
Alexander Neundorf
179943bf14
STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so the
...
kdevelop generator doesn't need its own CreateLocalGenerator() anymore
Alex
2007-06-05 16:35:24 -04:00
Bill Hoffman
937afc6b9b
ENH: fix for aix
2007-06-05 09:19:27 -04:00
Andy Cedilnik
7b6f03423d
STYLE: Nightly Version update
2007-06-05 09:05:41 -04:00
Bill Hoffman
d2b3e06cd0
ENH: prevent crash
2007-06-04 17:17:53 -04:00
Andy Cedilnik
3e57d1f8ad
STYLE: Nightly Version update
2007-06-04 17:16:10 -04:00
Alexander Neundorf
74750610cf
ENH: determine typesize by compiling a file and reading strings from the compiled output.
...
Tested with various gcc, XCode, MSVC7, sdcc
For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES.
Alex
2007-06-04 17:08:46 -04:00
Brad King
e40c51dddf
BUG: Fixed cmCommandArgumentLexer no-escape mode to not match backslash-escape sequences as lexical tokens at all. Needed to configure files with backslashes preceding an @VAR@ replacement. This fixes bug#5130.
2007-06-04 15:57:33 -04:00
Alexander Neundorf
e9fc2cb086
STYLE: fix typo: now double space after -D
...
Alex
2007-06-04 13:50:34 -04:00
Alexander Neundorf
003654670b
ENH: -U for removing variables now uses globbing expressions
...
-cmCacheManager: now also variables with type UNINITIALIZED are saved in
CMakeCache.txt, these are the vars defined using -DFOO=foo but without type
Alex
2007-06-04 13:48:11 -04:00
Ken Martin
8fdca686b3
ENH: fix passing of time limit to some ctest invocations that also use build-options
2007-06-04 13:39:43 -04:00
Andy Cedilnik
3bcec6e36c
STYLE: Nightly Version update
2007-06-03 10:48:11 -04:00
Bill Hoffman
fe1c4649ef
ENH: remove debug that caused tests to fail
2007-06-02 16:15:01 -04:00
Andy Cedilnik
f1745fbb8d
STYLE: Nightly Version update
2007-06-02 06:33:59 -04:00
Bill Hoffman
fa8f556a9d
ENH: opps
2007-06-01 23:06:14 -04:00
Bill Hoffman
7bdad54614
ENH: initial bullseye stuff
2007-06-01 15:40:07 -04:00
Alexander Neundorf
0be0283f30
BUG: also put a variable into the cache when defined using -D if no type is
...
given, then STRING is used. Also add command line option -U as suggested for
undefining cache variables. This fixes #4896 and #4264 .
Alex
2007-06-01 14:16:46 -04:00
Alexander Neundorf
eddf1cf39f
ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
...
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.
Alex
2007-06-01 11:16:29 -04:00
Alexander Neundorf
26a5a295eb
ENH: also handle comments for variables which contain newlines
...
Alex
2007-06-01 11:06:48 -04:00
Bill Hoffman
8cba2c55f9
BUG: fix crash, bug 5121
2007-06-01 09:18:08 -04:00
Andy Cedilnik
fa858bc22c
STYLE: Nightly Version update
2007-05-31 22:06:35 -04:00
Alexander Neundorf
66580ab341
ENH: if get_target_property() doesn't find a target with the given name, it
...
returns now "<NAME_OF_VAR>-NOTFOUND" instead of just "NOTFOUND", which can help
in finding problems
Alex
2007-05-31 12:03:52 -04:00
Andy Cedilnik
a8d96319bb
STYLE: Nightly Version update
2007-05-30 05:28:09 -04:00
Alexander Neundorf
cfee916b7c
COMP: less warnings with msvc8
...
Alex
2007-05-29 08:42:39 -04:00
Andy Cedilnik
25c6073080
STYLE: Nightly Version update
2007-05-29 05:26:30 -04:00
Brad King
fac5d4845a
BUG: Finished previous fix.
2007-05-28 17:49:03 -04:00
Brad King
b4fb25941a
COMP: Fixed shadowed local warning.
2007-05-28 13:46:10 -04:00
Brad King
25db01d7c4
ENH: Removed unused methods that should never be used anyway.
2007-05-28 13:32:17 -04:00
Brad King
f944711917
STYLE: Fixed comment for Generate() method.
2007-05-28 12:23:32 -04:00
Brad King
3d822e3a25
ENH: Moved link library related code from GenerateSourceFilesFromSourceLists to AnalyzeLibDependencies to make the former do no more than what its name says.
2007-05-28 12:05:28 -04:00
Brad King
09289aadb6
ENH: Removed "Used" mark from custom commands. It is no longer needed or checked by any generators.
2007-05-28 11:18:15 -04:00
Brad King
60f02a27db
ENH: Remove unused build rules from Xcode. This change was made in the VS generators on 2006-03-23 and should have been made for the Xcode generator too. Also commented out some debug print statements.
2007-05-28 11:16:50 -04:00
Brad King
0fa1bd2f71
COMP: Fix build on mac after change to GetSourceFiles signature.
2007-05-28 11:03:11 -04:00
Brad King
14d50b086f
COMP: Fix build of XCode generator after change to GetSourceFiles signature.
2007-05-28 11:02:45 -04:00
Andy Cedilnik
2ea5caf13c
STYLE: Nightly Version update
2007-05-28 11:02:27 -04:00
Brad King
27a0677d3e
COMP: Fix build for windows-only generators after change to GetSourceFiles signature.
2007-05-28 11:00:26 -04:00
Brad King
3f2dd9bc54
ENH: Made cmTarget::GetSourceFiles method return reference to const so addition of cmSourceFile pointers must be done with an access method in cmTarget.
2007-05-28 10:25:03 -04:00
Brad King
ba8ec0d5cf
ENH: Made cmSourceFile::GetDepends return reference to const so dependencies can be added only by an access method in cmSourceFile.
2007-05-28 10:11:44 -04:00
Brad King
d2f62e6ac3
ENH: Made cmTarget::GetSourceLists return a reference to const so that all additions of sources must go through access methods in cmTarget.
2007-05-28 09:59:08 -04:00
Alexander Neundorf
00c9964a8c
COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data
...
Alex
2007-05-28 08:31:26 -04:00
Andy Cedilnik
9b5ed0cfa9
STYLE: Nightly Version update
2007-05-27 18:47:09 -04:00
Bill Hoffman
a3d4d549ba
ENH: @ must be escaped in xcode projects
2007-05-27 10:32:22 -04:00
Andy Cedilnik
4168dba9d9
STYLE: Nightly Version update
2007-05-27 04:31:38 -04:00
Andy Cedilnik
123a81088c
STYLE: Nightly Version update
2007-05-26 14:26:00 -04:00
Alexander Neundorf
55f11b348b
ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic
...
conversion of hex and srec files to binary.
Without this automatic conversion, everywhere where a compiled file is parsed for strings the
a file(HEX2BIN somefile binfile) command has to be added otherwise it will
not work for these compilers. I tried this with DetermineCompiler and
CheckTypeSize and nobody will do this except the users who work with such
compilers. For them it will break if they don't add this conversion command
in all these places.
If FILE(STRINGS) is used with a text file, it
will in most cases still work as expected, since it will only convert hex
and srec files. If a user actually wants to get text out of hex files, he
knows what he's doing and will see the hint in the documentation.
Anyway, it should work without having to create a temporary file, will work
on this later.
Alex
2007-05-25 16:46:50 -04:00
Alexander Neundorf
d6f779a9b0
COMP: less warnings (signed vs. unsigned)
...
Alex
2007-05-25 16:23:57 -04:00
Brad King
775f012fae
BUG: Need to create global targets before AddHelperCommands is called. We should investigate creating global targets at the beginning of the configure step even if their commands are not populated or if they will not actually be generated later.
2007-05-25 15:51:33 -04:00
Alexander Neundorf
f4eb541880
ENH: make the compiler id detection work, even if the output file name of
...
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test
Alex
2007-05-25 15:22:22 -04:00
Alexander Neundorf
1ed238c7f5
BUG: remove debug output
...
Alex
2007-05-25 12:05:59 -04:00
Brad King
22a1df0576
BUG: Fix FILES mode after recent changes.
2007-05-25 11:08:52 -04:00
Brad King
92ec498b8c
BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install under the prefix like they did before the recent changes.
2007-05-25 11:01:20 -04:00
Andy Cedilnik
9192d1d153
STYLE: Nightly Version update
2007-05-25 06:55:01 -04:00
Bill Hoffman
d0f12061c3
ENH: add copy header stuff
2007-05-24 17:06:32 -04:00
Alexander Neundorf
c9aecb91cc
STYLE: remove debug output, fix indentation
...
the tests run again successfully, but since CheckTypeSize will switch to a
TRY_COMPILE soon I will look at it again after this change
Alex
2007-05-24 16:03:39 -04:00
Alexander Neundorf
504ea6df4e
COMP: try to fix the test failures on dash2
...
Alex
2007-05-24 14:30:09 -04:00
Alexander Neundorf
7147c3e1cc
ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
...
be used e.g. for getting strings out of it.
Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf
7d7aba292c
ENH: add two simple tests for TRY_RUN()
...
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
2007-05-24 11:27:51 -04:00
Alexander Neundorf
00e6d62fd1
ENH: move output file search to cmTryCompileCommand.cxx, so it can be used
...
there too... many public static functions with lots of arguments... :-/
Alex
2007-05-24 08:56:14 -04:00
Alexander Neundorf
79756b0e67
BUG: don't use non-imported target when cross compiling as commands in custom commands
...
STYLE: remove now invalid comments, use this->
Alex
2007-05-24 08:43:31 -04:00
Alexander Neundorf
1835c327ff
STYLE: use "items" instead od "item"
...
Alex
2007-05-24 08:18:46 -04:00
Andy Cedilnik
4df8826d6c
STYLE: Nightly Version update
2007-05-24 05:26:22 -04:00
Brad King
5639c69d39
ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets.
2007-05-23 18:23:17 -04:00
Brad King
9d75da9eaf
ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not targets.
2007-05-23 18:22:52 -04:00
Brad King
ea44d68cb6
BUG: Need to use GetRealDependency for custom command file-level dependencies.
2007-05-23 17:21:08 -04:00
Brad King
ba7780a3c4
ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
2007-05-23 15:40:12 -04:00
Brad King
c288da754a
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
2007-05-23 13:27:00 -04:00
Brad King
702d785c9a
BUG: Add ./ to custom command executables in the top of the build tree even when the path is generated by target name replacement.
2007-05-23 12:05:05 -04:00
Alexander Neundorf
526b72e12c
COMP: don't user string::clear(), fix warnings about unused variables
...
Alex
2007-05-23 08:24:29 -04:00
Andy Cedilnik
1d84b36935
STYLE: Nightly Version update
2007-05-22 17:10:02 -04:00
Alexander Neundorf
bef8d3580b
COMP: compile fix
...
Alex
2007-05-22 11:05:59 -04:00
Alexander Neundorf
b37cc6072f
COMP: compile fix and remove warning
...
Alex
2007-05-22 10:42:37 -04:00
Alexander Neundorf
4878c00905
ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates an
...
"imported" executable target. This can then be used e.g. with
ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for
"imported" targets, and FindTarget() now takes an additional argument bool
useImportedTargets to specify whether you also want to search in the
imported targets or only in the "normal" targets.
Alex
2007-05-22 10:24:59 -04:00
Andy Cedilnik
b759765134
STYLE: Nightly Version update
2007-05-22 04:14:07 -04:00
Andy Cedilnik
a7a1e40afa
STYLE: Nightly Version update
2007-05-21 05:03:43 -04:00
Andy Cedilnik
fe1f147dc0
STYLE: Nightly Version update
2007-05-20 02:39:38 -04:00
Brad King
4259c7c1e4
COMP: Fix for borland now that components list check is const.
2007-05-19 09:55:18 -04:00
Andy Cedilnik
7cd767ca48
STYLE: Nightly Version update
2007-05-18 20:51:40 -04:00
Alexander Neundorf
9670a8c485
ENH: 2nd try to move stripping out of cpack and to install time, now if
...
CPACK_STRIP_FILES is true (or contains a list of files), everything will be
stripped, if it's empty or false they won't be stripped
Alex
2007-05-18 14:41:09 -04:00
Alexander Neundorf
df8f550029
ENH: add install/strip target for makefile generators if strip was found
...
Alex
2007-05-18 13:43:39 -04:00
Alexander Neundorf
a18d286635
ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from
...
cmInstallTargetGenerator.cxx to Darwin.cmake
Alex
2007-05-18 11:57:29 -04:00
Alexander Neundorf
d64dc9b5bb
COMP: force a recompile on VS71
...
Alex
2007-05-18 11:45:18 -04:00
Brad King
92c0f41251
ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories.
2007-05-18 11:36:23 -04:00
Alexander Neundorf
891f2130cf
COMP: fix link rules with nmake, the linker command has to be converted to shortpath form for nmake
...
Alex
2007-05-18 10:32:22 -04:00
Bill Hoffman
fda955e752
STYLE: fix documentation for command
2007-05-18 09:30:21 -04:00
Brad King
07fe611fc6
BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it.
2007-05-18 09:17:36 -04:00
Alexander Neundorf
aee311a89d
STYLE: fix line lengths
...
Alex
2007-05-18 08:49:06 -04:00
Brad King
42a272428b
BUG: Need to use GetSafeDefinition when assigning to a string.
2007-05-17 17:43:32 -04:00
Brad King
9a5b4eba97
BUG: All variable accesses should produce watch callbacks, including IF(DEFINED <var>) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables.
2007-05-17 17:40:59 -04:00
Alexander Neundorf
b47807fc15
STYLE: fix indentation
...
ENH: add hack to make new cmake work with older existing cmake build trees
Alex
2007-05-17 17:21:52 -04:00
Alexander Neundorf
fc07a8c353
STYLE: use braces
...
Alex
2007-05-17 16:50:53 -04:00
Brad King
58debfd6bd
ENH: Use IF(NOT DEFINED) check to short-circuit size test.
2007-05-17 15:17:45 -04:00
Brad King
b8928b0c8e
BUG: Do not complain about missing watched variables when they are accessd with IF(DEFINED VAR).
2007-05-17 15:12:13 -04:00
Brad King
bdc7792e40
COMP: GCC 2.95 does not have std::string::clear() method.
2007-05-17 14:47:18 -04:00
Brad King
5e1dd6fb51
BUG: Some single-character arguments need quoting on windows.
2007-05-17 14:01:02 -04:00
Alexander Neundorf
61d3444f93
ENH: merge CMake-CrossCompileBasic to HEAD
...
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions
Alex
2007-05-17 13:20:44 -04:00
Brad King
9bfe711ef1
BUG: Fix ExpandListArgument when the string ends in a backslash.
2007-05-17 11:27:46 -04:00
Brad King
51fe906ab7
BUG: An empty configuration name is equivalent to no configuration.
2007-05-17 11:18:23 -04:00
Brad King
c25d2bfdd2
ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
2007-05-17 10:53:18 -04:00
Brad King
cc507411d3
ENH: Added more special unix shell characters that require quoting. Added escaping of % as %% for shells inside mingw32-make.
2007-05-17 10:53:14 -04:00
Andy Cedilnik
6a271a4bfb
STYLE: Nightly Version update
2007-05-17 07:27:52 -04:00
Andy Cedilnik
65645a0d4c
STYLE: Nightly Version update
2007-05-16 19:59:41 -04:00
Brad King
73197eaefa
BUG: Shell escaping needs to write % as %% for VS IDE.
2007-05-16 16:19:18 -04:00
Brad King
142210997f
BUG: Watcom WMake needs empty rule commands even for symbolic targets. This fixes the cmake_force target.
2007-05-16 13:24:17 -04:00
Brad King
01c7db07c3
BUG: Do not send both SIGSTOP and SIGKILL when killing a process. The SIGSTOP seems to be able to block the SIGKILL occasionally. Also the SIGKILL is sufficient since the process table entry will still exist until it is reaped with waitpid.
2007-05-16 13:10:45 -04:00
Andy Cedilnik
b7b43934b8
STYLE: Nightly Version update
2007-05-16 10:36:14 -04:00
Brad King
bd78952748
BUG: Do not emit /usr/lib32 or /usr/lib64 as linker paths. Submitted by David Faure.
2007-05-16 09:07:53 -04:00
Alexander Neundorf
4b33244ea5
BUG: fix segfault when trying to get the object file for a sourcefile in an
...
unknown language via GET_TARGET_PROPERTY(), as reported by Trevor Kellaway
Alex
2007-05-15 16:06:18 -04:00
Andy Cedilnik
d940b667f8
STYLE: Nightly Version update
2007-05-15 03:59:08 -04:00
Alexander Neundorf
e4b5de6377
STYLE: fix line lengths
...
Alex
2007-05-14 11:23:37 -04:00
Andy Cedilnik
0e7ee97d83
STYLE: Nightly Version update
2007-05-14 08:33:28 -04:00
Andy Cedilnik
643f75b878
STYLE: Nightly Version update
2007-05-13 10:59:35 -04:00
Brad King
33d976e583
COMP: Need CMake 2.4 or a bootstrap cmake that has ADD_SUBDIRECTORY to build.
2007-05-13 07:16:25 -04:00
Andy Cedilnik
ef20a5f920
STYLE: Nightly Version update
2007-05-12 02:58:28 -04:00
Brad King
6c421971b9
BUG: Fixed generation of XCODE_DEPEND_HELPER.make into proper directory. Cleaned up duplicate code created by recent changes.
2007-05-11 13:52:33 -04:00
Ken Martin
0f0a83a51f
ENH: more cleanup of some CMakeLists files
2007-05-11 09:02:17 -04:00
Alexander Neundorf
cd0cd47416
BUG: const char* FilePath could point to a non-existent std::string for
...
commands used in a macro, using a std::string instead copies the contents so
this works (correct error message)
Alex
2007-05-11 08:36:05 -04:00
Andy Cedilnik
d5415ec4a7
STYLE: Nightly Version update
2007-05-11 08:11:22 -04:00
Andy Cedilnik
39b6175f57
STYLE: Nightly Version update
2007-05-10 15:18:31 -04:00