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
Bill Hoffman
871f7cf222
ENH: fix up compiler id to be more robust
2007-05-17 10:07:51 -04:00
Bill Hoffman
0c7130905d
BUG: make sure this thing compiles on 64 bit machines
2007-05-17 08:38:07 -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
e1260b8468
ENH: Enabled preprocessor make rules for Watcom.
2007-05-16 13:26:47 -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
Brad King
b384218ec1
BUG: Disable test of feature that is not documented or implemented everywhere.
2007-05-16 11:40:53 -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
Andy Cedilnik
27727a2bba
BUG: check in the rest of the changes to move from c to cxx
2007-05-16 07:56:56 -04:00
Andy Cedilnik
9338803697
BUG: fix test for hp move to c++ to avoid ansi issues and produce a message if the compile fails, (really checked in by Bill H.)
2007-05-16 07:55:00 -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
Brad King
93b94ce443
STYLE: Added basic usage documentation.
2007-05-15 10:23:40 -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
Ken Martin
3aa23ce6eb
ENH: revert back to SUBDIRS so that CMake can be built with 2.2
2007-05-14 08:59:09 -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
Bill Hoffman
75ad21b2ad
ENH: revert to SUBDIRS to make sure cmake can be built with 2.2
2007-05-13 09:11:58 -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
1c318150a6
ENH: minor fixes
2007-05-11 12:17:27 -04:00
Ken Martin
2208231aac
ENH: some more CMakeList cleanups
2007-05-11 10:22:20 -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
3c45e181cf
ENH: add KWStyle support
2007-05-10 15:13:52 -04:00
Bill Hoffman
76dd86b410
BUG: fix -D escaped quotes for watcom
2007-05-10 14:43:55 -04:00
Ken Martin
0577543cbc
ENH: start trying to cleanup CMakeLists files
2007-05-10 14:08:15 -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
1f286c067f
ENH: add test for build depends
2007-05-10 10:05:52 -04:00
Bill Hoffman
3e3413dadc
ENH: fix for move of trace depends
2007-05-10 10:05:36 -04:00
Bill Hoffman
d419354250
ENH: add a test to make sure Xcode does not break again
2007-05-09 15:10:12 -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