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
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
Bill Hoffman
76dd86b410
BUG: fix -D escaped quotes for watcom
2007-05-10 14:43:55 -04:00
Alexander Neundorf
362f81981e
STYLE: fix line length
...
Alex
2007-05-10 11:38:23 -04:00
Bill Hoffman
8c39efe854
ENH: make sure escaping is done for strings on the command line
2007-05-10 11:16:06 -04:00
Bill Hoffman
18b7cbd700
ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes
2007-05-10 10:31:44 -04:00
Bill Hoffman
3e3413dadc
ENH: fix for move of trace depends
2007-05-10 10:05:36 -04:00
Alexander Neundorf
8245f437b6
BUG: fix problem for non-C/CXX languages with Visual Studio, the
...
dependencies for the custom commands added for java were not handled
correctly. Needs more work.
Alex
2007-05-09 14:41:38 -04:00
Andy Cedilnik
181f4cb0af
ENH: fix for older xcode and framework create
2007-05-09 10:28:32 -04:00
Brad King
adcd87c976
BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983.
2007-05-09 10:18:31 -04:00
Alexander Neundorf
e701ef77d8
STYLE: functions use upper case for the first letter
...
Alex
2007-05-09 09:35:59 -04:00
Andy Cedilnik
d00f753104
STYLE: Nightly Version update
2007-05-09 09:10:40 -04:00
Alexander Neundorf
7f11536704
ENH: now target names can be used in add_custom_command() and
...
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
2007-05-09 08:25:45 -04:00
Bill Hoffman
5af3105021
ENH: getting closer
2007-05-08 16:37:18 -04:00
Bill Hoffman
2ed6191fce
ENH: add initial xcode framework stuff
2007-05-08 15:49:54 -04:00
Bill Hoffman
39ccc4fb11
ENH: fix it so that the FRAMEWORK property does not break the building of normal shared libs on non-mac platforms
2007-05-08 11:53:39 -04:00
Andy Cedilnik
e6b8aa496a
STYLE: Nightly Version update
2007-05-08 11:31:02 -04:00
Bill Hoffman
b39d96dff8
ENH: add a very simple framework test
2007-05-08 10:58:35 -04:00
Bill Hoffman
9323a27989
ENH: initial support for creation of frameworks on Mac
2007-05-08 10:32:54 -04:00
Andy Cedilnik
9d6c37eef6
STYLE: Nightly Version update
2007-05-07 11:43:18 -04:00
Andy Cedilnik
aa072ed22e
STYLE: Nightly Version update
2007-05-06 09:05:34 -04:00
Andy Cedilnik
ed184c7c76
STYLE: Nightly Version update
2007-05-05 08:58:12 -04:00
Alexander Neundorf
f1e02b2993
COMP: removed unused variable temp
...
Alex
2007-05-04 14:08:50 -04:00
Alexander Neundorf
16b1f05fc2
COMP: fix warning on VS8: conversion unsigned int -> size_t
...
Alex
2007-05-04 09:50:39 -04:00
Andy Cedilnik
41a0539557
STYLE: Nightly Version update
2007-05-03 20:42:53 -04:00
Ken Martin
2450835267
ENH: look at CMAKE_TRY_COMPILE_CONFIGURATION var for TryRun as well
2007-05-03 15:25:41 -04:00
Brad King
aa4d7847ee
COMP: Fix code-not-reached warnings for SunCC.
2007-05-03 13:03:13 -04:00
Andy Cedilnik
df84f9b861
STYLE: Nightly Version update
2007-05-03 07:11:29 -04:00
Andy Cedilnik
e900dca788
STYLE: Nightly Version update
2007-05-02 01:09:45 -04:00
Alexander Neundorf
dcb3badcd7
STYLE: fix typo
...
Alex
2007-05-01 17:02:19 -04:00
Brad King
c51c245efa
BUG: A utility target should not run the custom commands from its source files directly. The target-level rule must add dependencies on the file-level custom commands to drive them. This bug was introduced by the "fix" to bug 4377. This also restores the documented behavior that PRE_BUILD rules are treated as PRE_LINK rules on non-VS generators. Also fixed custom command dependencies on the rule file build.make so that custom commands re-run when the commands themselves change.
2007-05-01 13:51:25 -04:00
Alexander Neundorf
ef0b9ff2cc
BUG: fix cmake listfile stack: if a file could not be opened, remove it from
...
the stack (usually CMakeCInformation.cmake and CMakeCXXInformation.cmake
which both put Linux-gcc.cmake on the stack without removing it again:
INCLUDE(... OPTIONAL) )
STYLE: better readable output formatting of the listfile stack, now in the
same order as in gdb or with include files
Alex
2007-05-01 11:46:47 -04:00
Andy Cedilnik
c7873ad44a
STYLE: Nightly Version update
2007-05-01 04:20:03 -04:00
Andy Cedilnik
f14993a78e
STYLE: Nightly Version update
2007-04-29 23:33:25 -04:00
Andy Cedilnik
e7a99a22d5
STYLE: Nightly Version update
2007-04-29 03:05:55 -04:00
Andy Cedilnik
ea97dbae25
STYLE: Nightly Version update
2007-04-28 12:35:57 -04:00
Brad King
bceb1532c6
STYLE: Fixed line too long.
2007-04-28 08:25:10 -04:00
Andy Cedilnik
be04cb2c45
STYLE: Nightly Version update
2007-04-27 10:26:38 -04:00
Andy Cedilnik
a7019a5253
STYLE: Add somme comments
2007-04-27 09:01:22 -04:00
Andy Cedilnik
64e0459f93
ENH: Initial attempt to do python coverage. Hopefully will not break coverage on GCov
2007-04-26 23:20:12 -04:00
Andy Cedilnik
1d4613a63b
ENH: Add STRING STRIP command
2007-04-26 21:50:52 -04:00
Brad King
6697979aaf
COMP: Avoid warning.
2007-04-26 09:56:04 -04:00
Andy Cedilnik
93c2ab934e
STYLE: Nightly Version update
2007-04-26 07:58:54 -04:00
Brad King
b81eff588d
STYLE: Fixed line-too-long.
2007-04-25 17:48:51 -04:00
Brad King
0fb689973e
ENH: Added FILE(STRINGS) command.
2007-04-25 17:22:07 -04:00
Andy Cedilnik
2a610dc552
STYLE: Nightly Version update
2007-04-25 05:01:41 -04:00
Bill Hoffman
31e3e829dd
ENH: fix docs
2007-04-24 14:03:25 -04:00
Bill Hoffman
32aecc84a1
ENH: fix seg fault in ccmake when hitting configure twice
2007-04-24 12:30:25 -04:00
Andy Cedilnik
04448b9e03
STYLE: Nightly Version update
2007-04-24 01:52:03 -04:00
Brad King
cdc161f380
COMP: Added missing include for time.
2007-04-23 16:48:56 -04:00
Ken Martin
c4fc2c19c7
ENH: Add command to generate random strings
2007-04-23 11:04:12 -04:00
Andy Cedilnik
e9361e41f3
STYLE: Nightly Version update
2007-04-22 23:55:06 -04:00
Andy Cedilnik
472c05cdcd
STYLE: Nightly Version update
2007-04-21 18:37:35 -04:00
Brad King
1ef33c6c04
COMP: Make sure gcc 2.96 sstream header is not used.
2007-04-20 11:53:35 -04:00
Brad King
60d0d429b8
COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear.
2007-04-20 09:50:46 -04:00
Brad King
0b0258c548
BUG: Reverting previous change. It did not account for the possibility that the loaded command was built with a different compiler.
2007-04-20 09:49:27 -04:00
Andy Cedilnik
b85d7d9c66
STYLE: Nightly Version update
2007-04-20 04:33:20 -04:00
Brad King
a43b3cc801
BUG: Need to clear read failure when string is reset.
2007-04-19 12:56:07 -04:00
Brad King
6984c09310
ENH: Added testing for istringstream and stringstream.
2007-04-19 12:53:13 -04:00
Brad King
94e27c1073
BUG: Fix stream state on successfully reading a string.
2007-04-19 12:44:04 -04:00
Brad King
ded4cb6f8d
COMP: Fixes for Watcom.
2007-04-19 12:12:19 -04:00
Brad King
d5cb9b1a0d
COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless.
2007-04-19 12:11:56 -04:00
Brad King
d75bfedab5
COMP: Need to include header for unlink function.
2007-04-19 12:11:16 -04:00
Brad King
16be80b7b4
ENH: Added support for Watcom compiler. Added TODO comment about calling conventions.
2007-04-19 11:31:55 -04:00
Brad King
a7efb3feb7
ENH: Removed code unnecessary now that DynamicLoader is implemented better.
2007-04-19 11:23:04 -04:00
Brad King
28f6b148f6
ENH: Fixed stl string streaming operators for Watcom.
2007-04-19 11:21:35 -04:00
Andy Cedilnik
affd99a9a9
STYLE: Nightly Version update
2007-04-19 04:01:16 -04:00
Brad King
47159b69be
BUG: Fix ComputeLinkInformation. When using a loader_flag link item the full per-configuration path should be used. The fullPathLibs returned should refer to the import library if it was used. Since the full paths are used for dependencies the executable used with loader_flag should be returned also.
2007-04-18 09:56:06 -04:00
Andy Cedilnik
1b00feb0de
STYLE: Nightly Version update
2007-04-18 04:12:51 -04:00
Brad King
3fe86c98cf
ENH: Plugin test should now work on QNX.
2007-04-18 00:12:16 -04:00
Brad King
4241e699c7
BUG: Cannot escape link items because some need the spaces to separate arguments. Instead just escape the argument to the loader flag.
2007-04-18 00:04:56 -04:00
Brad King
721ff36924
ENH: Added platform variable CMAKE_EXE_EXPORTS_<lang>_FLAG to add a linker flag when building executables that have the ENABLE_EXPORTS property set.
2007-04-17 23:39:47 -04:00
Brad King
07b9423e7d
BUG: Fix ComputeLinkInformation for non-linked targets. Why is it called for utility targets anyway?
2007-04-17 23:16:35 -04:00
Brad King
fc9ceda5e7
ENH: Fixed Plugin test on Cygwin.
2007-04-17 18:18:42 -04:00
Brad King
cb190cdb87
BUG: Disable Plugin test on Cygwin until it is implemented.
2007-04-17 16:42:15 -04:00
Brad King
fe5386be81
ENH: Re-enabling Plugin test now that it should work on MacOSX. I will let it run one night to see what platforms are still not implemented. Currently it is not run on QNX because it is known to not be implemented there.
2007-04-17 16:34:07 -04:00
Brad King
f9f5772557
ENH: Added use of platform variable CMAKE_SHARED_MODULE_LOADER_<lang>_FLAG to add a special flag when linking a plugin to an executable that loads it.
2007-04-17 16:11:00 -04:00
Brad King
84584e1184
BUG: Disable Plugin test until it works everywhere.
2007-04-17 15:06:04 -04:00
Brad King
0164f2faae
ENH: Added test for executables with plugins that use an API exported by the executable itself.
2007-04-17 14:08:30 -04:00
Andy Cedilnik
c50dabff02
STYLE: Nightly Version update
2007-04-17 04:48:21 -04:00
Andy Cedilnik
0aae2ce6ec
STYLE: Nightly Version update
2007-04-16 04:03:17 -04:00
Andy Cedilnik
ee4ab6385e
STYLE: Nightly Version update
2007-04-15 03:46:09 -04:00
Andy Cedilnik
14a53e65ea
STYLE: Nightly Version update
2007-04-14 02:53:21 -04:00
Ken Martin
a500b3da05
ENH: better progress for any directory that is a project
2007-04-13 10:22:33 -04:00
Andy Cedilnik
e855341a1a
STYLE: Nightly Version update
2007-04-13 01:06:52 -04:00
Andy Cedilnik
5981d23d0e
STYLE: Fix line lengths
2007-04-12 15:50:39 -04:00
Ken Martin
2a1e2456ae
ENH: some code consolidation and cleanup
2007-04-12 15:46:14 -04:00
Ken Martin
b4de606bdd
BUG: fix progress for ENCLUDE_FORM_ALL cases using new project to target map. Only fixes it for the top level all target
2007-04-12 14:21:58 -04:00
Brad King
688ebad20e
ENH: Added KWSYSPE_DEBUG macro to print debugging trace information. Added TODO comment explaining why process execution can still hang when a grandchild keeps the output pipes open.
2007-04-12 10:56:20 -04:00
Andy Cedilnik
0a0e89ee8a
STYLE: Nightly Version update
2007-04-11 17:22:15 -04:00
Andy Cedilnik
f9f1ccadb3
ENH: Add variable watch command
2007-04-11 15:13:05 -04:00
Brad King
76e5344590
STYLE: Fixed line-too-long.
2007-04-11 10:00:56 -04:00
Andy Cedilnik
51afbced0f
STYLE: Nightly Version update
2007-04-10 21:47:41 -04:00
Brad King
5239769f5c
BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.
2007-04-10 16:03:10 -04:00
Brad King
94672aa75a
BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.
2007-04-10 15:55:49 -04:00
Brad King
996f391593
BUG: The ALL_BUILD target should not have any command lines so that it is not always considered out of date. Moved the 'Build all projects' message into the description field instead of an echo in the command field. Moved common implementation of Generate for VS6 and VS7 into the superclass to avoid duplicate code for the ALL_BUILD target. This addresses bug#4556.
2007-04-10 13:09:03 -04:00
Brad King
a017333d9a
ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805.
2007-04-10 11:22:15 -04:00
Ken Martin
8b0c61c322
ENH: added internal target property for the name of the project file
2007-04-10 09:54:01 -04:00
Brad King
5415b65067
STYLE: Added comment about why dependencies need to be chained to clarify code.
2007-04-10 08:49:42 -04:00
Andy Cedilnik
ef756114d5
STYLE: Nightly Version update
2007-04-09 21:25:48 -04:00
Andy Cedilnik
910d629ed4
STYLE: Nightly Version update
2007-04-08 21:44:56 -04:00
Andy Cedilnik
d2b9dd6353
STYLE: Nightly Version update
2007-04-07 21:23:10 -04:00
Andy Cedilnik
6a213c846f
STYLE: Nightly Version update
2007-04-06 21:42:35 -04:00
Andy Cedilnik
0016ff7387
STYLE: Nightly Version update
2007-04-05 21:57:55 -04:00
Brad King
cc13a060c6
STYLE: Fix line-too-long.
2007-04-05 09:19:29 -04:00
Andy Cedilnik
ebabf0cf75
STYLE: Nightly Version update
2007-04-04 17:02:21 -04:00
Brad King
438a7e2fce
BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789.
2007-04-04 14:50:35 -04:00
Andy Cedilnik
826dc8696c
COMP: Fix kwstyle
2007-04-04 13:06:20 -04:00
Andy Cedilnik
0b92b2faf5
BUG: No need for the backward compatibility variable warning
2007-04-04 12:05:44 -04:00
Andy Cedilnik
6fb9e2781a
ENH: Add variable for the current list file
2007-04-04 12:05:10 -04:00
Brad King
2c1204e361
ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators.
2007-04-04 11:22:14 -04:00
Andy Cedilnik
3411f2566a
STYLE: Nightly Version update
2007-04-03 23:18:35 -04:00
Andy Cedilnik
814d83f120
STYLE: Nightly Version update
2007-04-03 03:07:54 -04:00
Andy Cedilnik
54143f0979
STYLE: Nightly Version update
2007-04-02 02:44:04 -04:00
Andy Cedilnik
2e22c460b6
STYLE: Nightly Version update
2007-04-01 02:41:44 -04:00
Andy Cedilnik
402a363ef0
STYLE: Nightly Version update
2007-03-31 02:45:17 -04:00
Bill Hoffman
5ed2141d12
ENH: make sure default /System framework is not added with -F
2007-03-30 10:53:02 -04:00
Andy Cedilnik
32ab3853ee
STYLE: Nightly Version update
2007-03-30 02:37:58 -04:00
Andy Cedilnik
9858fe9b21
STYLE: Nightly Version update
2007-03-29 02:41:21 -04:00
Ken Martin
fabd9def68
BUG: even safer checking of return value
2007-03-28 11:07:36 -04:00
Ken Martin
f0857fcbd3
BUG: even safer checking of return value
2007-03-28 11:06:34 -04:00
Ken Martin
c6cf2ca108
BUG: fix checking of the return value for a build
2007-03-28 10:58:00 -04:00
Andy Cedilnik
7c192d22d2
STYLE: Nightly Version update
2007-03-28 02:51:31 -04:00
Brad King
0e15f3412f
COMP: Restored shared local variable removed by previous change.
2007-03-27 23:15:59 -04:00
Brad King
af95f61d76
ENH: Created method cmTarget::GetExportMacro to centralize computation of the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set.
2007-03-27 23:13:25 -04:00
Andy Cedilnik
341853c887
STYLE: Nightly Version update
2007-03-27 02:45:47 -04:00
Andy Cedilnik
51126eb2af
STYLE: Nightly Version update
2007-03-26 02:43:43 -04:00
Andy Cedilnik
7482175b8b
STYLE: Nightly Version update
2007-03-25 02:51:01 -04:00
Andy Cedilnik
d17dac47b9
STYLE: Nightly Version update
2007-03-24 02:47:08 -04:00
Bill Hoffman
239ee9c26c
BUG: fix problem with new curl_getdate and ctest
2007-03-23 16:33:47 -04:00
Andy Cedilnik
5cd2892f01
STYLE: Nightly Version update
2007-03-23 02:33:35 -04:00
Brad King
5a32aa5919
ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210 .
2007-03-22 09:45:25 -04:00
Andy Cedilnik
187816c937
STYLE: Nightly Version update
2007-03-22 02:34:44 -04:00
Ken Martin
abf2704785
BUG: typo in if test
2007-03-21 13:49:40 -04:00
Andy Cedilnik
cb83efbe90
STYLE: Nightly Version update
2007-03-21 02:39:48 -04:00
Ken Martin
f6c9b6d631
ENH: try markign non zero return values as warnings for make programs
2007-03-20 14:52:27 -04:00
Ken Martin
562c17dfeb
ENH: try markign non zero return values as warnings for make programs
2007-03-20 14:31:34 -04:00
Ken Martin
ca7668d993
ENH: add another error regexp
2007-03-20 14:11:32 -04:00
Bill Hoffman
8f870ddeca
BUG: fix coverity error, null check after usage fix
2007-03-20 12:44:36 -04:00
Ken Martin
b5423a0218
ENH: minor additional error output
2007-03-20 11:52:16 -04:00
Andy Cedilnik
32984af6d1
STYLE: Nightly Version update
2007-03-20 02:50:02 -04:00
Ken Martin
3abf39eda0
ENH: support for --build-config-sample feature #1022
2007-03-19 13:04:10 -04:00
Brad King
fc7c433463
ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
2007-03-19 10:00:36 -04:00
Andy Cedilnik
43589ec702
STYLE: Nightly Version update
2007-03-19 02:35:50 -04:00
Andy Cedilnik
faa2d53e3f
STYLE: Nightly Version update
2007-03-18 02:03:13 -04:00
Andy Cedilnik
1325d8f8dd
STYLE: Nightly Version update
2007-03-17 00:20:21 -04:00
Brad King
144c605525
BUG: Need to include relative path top information in directory information so that relative path conversion during dependency generation works with the same rules as project generation.
2007-03-16 16:48:27 -04:00
Brad King
7fb8ac8904
BUG: Use GetExecutableNames instead of GetLibraryNames to compute the installation file name for executable targets.
2007-03-16 16:28:30 -04:00
Brad King
861e3a7107
COMP: Fix bad escape sequence.
2007-03-16 16:04:31 -04:00
Andy Cedilnik
ed1081f909
ENH: More regular expressions for visual studio 6
2007-03-16 14:51:28 -04:00
Brad King
1f639ee76c
ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
2007-03-16 10:34:25 -04:00
Ken Martin
f52d37c26f
BUG: change in how set cache overrides local definitions. Should mainly be a NOP change for most cases
2007-03-15 13:48:15 -04:00
Andy Cedilnik
daacd021fc
STYLE: Nightly Version update
2007-03-14 21:51:08 -04:00
Brad King
9da6f96d98
BUG: Reverting previous changes related to using an empty string for a relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change.
2007-03-14 16:29:10 -04:00
Brad King
b8bd0f80db
BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path.
2007-03-14 15:35:10 -04:00
Brad King
6d2f08b6e1
ENH: Added MD5 implementation to KWSys.
2007-03-14 15:12:10 -04:00
Brad King
a724f0d425
BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".".
2007-03-14 13:36:24 -04:00
Brad King
770ffb1699
BUG: All executable and library project types should specify a program database file name for all configurations. Even when debug information is not used the .pdb file specified is used to construct the name of a .idb file that exists for all configurations when building with the VS IDE.
2007-03-14 09:34:31 -04:00
Ken Martin
c53b26baf2
ENH: some more cleanup
2007-03-13 15:18:27 -04:00
Bill Hoffman
5891ba16ce
ENH: add project to target map, not used yet, but created
2007-03-13 14:23:08 -04:00
Brad King
d720036e61
BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work.
2007-03-13 11:58:12 -04:00
Andy Cedilnik
646e2ff9d8
STYLE: Nightly Version update
2007-03-13 03:57:47 -04:00
Ken Martin
f59e649dc2
ENH: added remove_directory bug 2937
2007-03-12 16:10:00 -04:00
Brad King
e105c7fedc
BUG: Preserve symlinks during installation. This addresses bug#4384.
2007-03-12 14:15:25 -04:00
Brad King
e01cdf2065
ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink.
2007-03-12 13:50:28 -04:00
Ken Martin
558dbc84ad
ENH: typo
2007-03-12 13:30:36 -04:00
Ken Martin
03f3411c4f
ENH: small enchancement for bug 3776.
2007-03-12 12:40:34 -04:00
Brad King
fb38af53c0
BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7.
2007-03-12 12:35:11 -04:00
Ken Martin
55603ea9eb
COMP: XCode fix
2007-03-12 11:32:10 -04:00
Ken Martin
b99129d2d8
ENH: some code cleanup
2007-03-12 10:26:59 -04:00
Andy Cedilnik
c03217d560
STYLE: Nightly Version update
2007-03-11 01:50:41 -05:00
Brad King
01a27cb5b4
STYLE: Fix line-too-long.
2007-03-10 06:56:11 -05:00
Andy Cedilnik
ba037af74f
STYLE: Nightly Version update
2007-03-10 01:31:08 -05:00
Brad King
1e25f2b3db
BUG: Use real path subdirectory check instead of substring comparison to identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories.
2007-03-09 17:15:13 -05:00
Brad King
0e8d822b18
COMP: Fix warning about binding reference-to-non-const to an rvalue on VS6. It does not seem to be doing the proper auto_ptr_ref conversions. Instead use the const_cast work-around on this platform.
2007-03-09 16:58:08 -05:00
Brad King
72b08a80c8
COMP: Fixed unreferenced parameter warning for VS6 with /W4.
2007-03-09 16:27:14 -05:00
Brad King
ade0fb94d8
BUG: Re-enable backward compatibility replacements in user-provided VS6 DSP template files.
2007-03-09 16:26:16 -05:00
Brad King
80e6cade7a
ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 generator. This is an incremental fix for bug#4210.
2007-03-09 16:25:16 -05:00
Brad King
92ff60b6a6
ENH: Added target properties ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY. If set these override EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for a specific target. They can be used to distribute target files in the build tree with the same granularity that the INSTALL command provides for the install tree. This addresses bug#2240 and bug#4210.
2007-03-09 15:14:27 -05:00
Brad King
5ed8ea8a0e
BUG: Fixed OSX bundles to be built in the directory specified by cmTarget::GetDirectory(). This is an incremental step for bug#2240.
2007-03-09 14:50:11 -05:00
Brad King
7b68a64d12
ENH: Do not compute a path name for the import library if there is no import library. This simplifies tracking down problems with trying to create import libraries for MODULEs.
2007-03-09 13:56:45 -05:00
Brad King
31637efbfb
ENH: Added cmMakefileTargetGenerator::GenerateExtraOutput to wrap up creation of rules to drive creation of extra outputs generated as side effects of another rule. Reimplemented generation of custom command multiple output rules to use it. Reimplemented soname symlink output dependencies to use it. Now if a symlink is deleted the library will be recreated with the symlink.
2007-03-09 11:29:15 -05:00
Brad King
fb88335cdb
BUG: Need to account for import library directory when constructing the clean rule for the import library. This is an incremental fix for bug #4210 .
2007-03-09 11:26:10 -05:00
Brad King
54923d6ad8
ENH: Implemented new policy to choose the directory part of the object file name. This should keep the names looking as nice and short as possible. This partially addresses bug#4520.
2007-03-09 10:30:07 -05:00
Brad King
528f60f4a6
ENH: Added implib option to cmTarget::GetDirectory to support a separate directory containing the import library. This is an incremental step for bug#4210.
2007-03-09 09:30:16 -05:00
Andy Cedilnik
3ec0ff05de
STYLE: Nightly Version update
2007-03-08 23:56:29 -05:00
Brad King
01dc699d82
ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they are nearly the same. This is another step for bug#2240.
2007-03-08 15:33:19 -05:00
Brad King
789a0f8359
ENH: Removed unused variables LibraryOutputPath and ExecutableOutputPath. Each target is asked for its own output directory. This is a step towards bug#2240.
2007-03-08 15:24:01 -05:00
Brad King
1a734f238a
COMP: Fixed enumeration-not-used warning in switch.
2007-03-08 15:10:20 -05:00
Brad King
33ee83714d
ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240.
2007-03-08 14:57:28 -05:00
Brad King
ea19994b13
ENH: Ask the target for its own directory in case of bundle instead of directly using ExecutableOutputPath.
2007-03-08 14:15:45 -05:00
Brad King
d65db7c6bb
BUG: Compute HomeRelativeOutputPath following the rules of RelativePathTopBinary by going through the Convert() method. This supports out-of-binary build trees without using relative paths that go outside trees managed by CMake.
2007-03-08 13:19:39 -05:00
Brad King
1d75e47dee
ENH: Enable SubDirSpaces test when building with bootstrapped cmake.
2007-03-08 13:13:58 -05:00
Brad King
fd3688fa72
ENH: Fixed recursive make call target escaping for Borland to support SubDirSpaces test.
2007-03-08 13:05:02 -05:00
Brad King
7157743d69
ENH: Updated GetRecursiveMakeCall to use EscapeForShell instead of MAKEFILE conversion. This code is special because it is the only place that a make target name is passed on a command line.
2007-03-08 11:49:30 -05:00
Brad King
91c2b84a92
ENH: Added ConvertToOutputSlashes method to convert slashes with the same policy as ConvertToOutputPath but without escaping.
2007-03-08 11:49:26 -05:00
Brad King
00051cf721
ENH: Removed useless method ConvertToMakeTarget and all calls to it. It had a buggy implementation that caused it to do nothing.
2007-03-08 11:10:21 -05:00
Brad King
4089c76890
BUG: Some calls to Convert() were converting for MAKEFILE but then passing the output to the build shell. The calls have now been converted to call Convert() with SHELL.
2007-03-08 10:31:03 -05:00
Brad King
00b4eeeded
STYLE: Removed unused calls to Convert.
2007-03-08 10:19:25 -05:00
Brad King
d37577d9e0
STYLE: Removing unused methods ConvertToShellPath and EscapeForUnixShell.
2007-03-08 09:48:17 -05:00
Brad King
254ae5c62e
STYLE: Fix line-too-long.
2007-03-08 08:46:03 -05:00
Brad King
2f2b5b2503
ENH: SetupPathConversions is now called automatically on demand.
2007-03-08 08:38:40 -05:00
Andy Cedilnik
9a5a051f21
STYLE: Nightly Version update
2007-03-07 22:12:11 -05:00
Brad King
b90e241a31
ENH: Modified GetObjectFileNameWithoutTarget to use relative paths for object file names with sources above the current directory so long as the relative path conversion works.
2007-03-07 17:39:16 -05:00
Brad King
4036627487
ENH: Improved computation of RelativePathTopSource and RelativePathTopBinary to use higher relative path tops when the source directories jump around in a tree below the original source top.
2007-03-07 17:32:35 -05:00
Brad King
ad4055f3e2
ENH: Set RelativePathTopSource and RelativePathTopBinary independently for each local generator. Relative path conversion is safe within a tree as long as it does not go above the highest parent directory still managed by CMake.
2007-03-07 16:35:53 -05:00
Brad King
073076e0f7
COMP: Fix ConvertToRelativePath change for Xcode generator.
2007-03-07 16:32:29 -05:00
Brad King
f3cc908e42
STYLE: Move warning disable pragma into push/pop block.
2007-03-07 16:00:21 -05:00
Brad King
0e8515fa4c
BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway.
2007-03-07 15:57:52 -05:00
Brad King
c841258170
COMP: Add missing include for assert.
2007-03-07 15:30:30 -05:00
Brad King
fc19882e8f
ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
2007-03-07 15:15:46 -05:00
Brad King
3bd9d67488
BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds.
2007-03-07 13:52:32 -05:00
Ken Martin
d12455fccb
BUG: oops bad arg for new test
2007-03-07 13:01:00 -05:00
Ken Martin
bfb3598c4b
BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364
2007-03-07 11:03:57 -05:00
Brad King
4148fedbf0
ENH: Enabled support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler.
2007-03-07 09:26:49 -05:00
Andy Cedilnik
c0ee369379
STYLE: Nightly Version update
2007-03-06 21:22:01 -05:00
Ken Martin
12b8643fee
COMP: shut up w4 warning
2007-03-06 10:56:21 -05:00
Andy Cedilnik
5cc53f2dc1
STYLE: Nightly Version update
2007-03-05 21:23:34 -05:00
Brad King
73a5c33f9b
BUG: Removed legacy SetupTests method that was causing RUN_TESTS to test twice.
2007-03-05 13:01:02 -05:00
Ken Martin
420095c013
COMP: shut up warnings
2007-03-05 10:36:06 -05:00
Ken Martin
d443963d91
ENH: fix compiler warnings
2007-03-05 09:51:13 -05:00
Ken Martin
1263baec63
STYLE: long line
2007-03-05 09:50:53 -05:00
Andy Cedilnik
d4798181a2
STYLE: Nightly Version update
2007-03-04 21:31:10 -05:00
Brad King
55280c5524
COMP: Disable function call with function return test for HP until it is implemented.
2007-03-03 23:46:42 -05:00
Andy Cedilnik
8774e0f81f
STYLE: Nightly Version update
2007-03-03 21:26:10 -05:00
Brad King
091eafefb3
COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr.
2007-03-03 15:43:31 -05:00
Brad King
55abd50681
COMP: Disable auto_ptr test for now.
2007-03-03 15:32:00 -05:00
Brad King
8c1f9e1b83
ENH: Implemented auto_ptr_ref in a way that allows conversion of the pointed-to type.
2007-03-03 15:05:52 -05:00
Brad King
ed722cbe61
COMP: Remove one conversion test until it is implemented.
2007-03-03 14:51:36 -05:00
Brad King
3fcec9daa4
ENH: Added test for auto_ptr. Documented aut_ptr template implementation.
2007-03-03 14:48:48 -05:00
Brad King
bdc4974f88
BUG: cmCreateTestSourceList command is needed at boostrap time because KWSys now uses test drivers.
2007-03-03 12:16:35 -05:00
Brad King
0edbb68352
ENH: Cleaned up KWSys tests to use test drivers.
2007-03-03 10:47:06 -05:00
Andy Cedilnik
399c3dffce
STYLE: Nightly Version update
2007-03-02 21:12:52 -05:00
Ken Martin
1de68b46f1
BUG: fix for build order
2007-03-02 14:31:04 -05:00
Andy Cedilnik
b9ab2b1932
BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try compile
2007-03-02 11:33:37 -05:00
Ken Martin
8e702e6977
COMP: fix some w4 warnings
2007-03-02 10:50:45 -05:00
Ken Martin
4456013702
ENH: fix compiler warning
2007-03-02 10:49:32 -05:00
Ken Martin
fdbe20cf8b
COMP: fix warnings
2007-03-02 10:48:58 -05:00
Brad King
a0e26986f7
COMP: More workarounds for Borland.
2007-03-01 23:28:17 -05:00
Andy Cedilnik
ba6b7628e5
STYLE: Nightly Version update
2007-03-01 21:15:24 -05:00
Ken Martin
d223fc64ad
COMP: fix a compiel warning
2007-03-01 16:23:06 -05:00
Ken Martin
f8c982cf78
ENH: added LIMIT on file read
2007-03-01 15:53:09 -05:00
Ken Martin
508ddaf929
COMP: fix warning
2007-03-01 14:52:26 -05:00
Ken Martin
ae3ef64307
ENH: added a limit to the getline method
2007-03-01 14:30:42 -05:00
Ken Martin
c733ab2701
BUG: a couple bugs in system informaiton
2007-03-01 10:53:09 -05:00