Commit Graph

6863 Commits

Author SHA1 Message Date
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