Commit Graph

10165 Commits

Author SHA1 Message Date
Alexander Neundorf 930bb0cd37 ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE

Instead of presetting these variables to arbitrary filenames, users should
set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a
Platform/ directory so these files will all follow the official cmake style,
which should make it easier to understand and debug project which have their
own platform/toolchain support files.

-remove support for a suffix to MS crosscompilers, since this is not (yet)
supported by cmake and might confuse users

Alex
2007-07-02 13:29:36 -04:00
Alexander Neundorf 3c1c335800 BUG: with MS Visual Studio currently there is no compiler id, so check the
generator too

Alex
2007-07-02 12:46:55 -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
Alexander Neundorf 55fa3825c0 BUG: fix build with cmake < 2.4
Alex
2007-07-02 11:05:43 -04:00
Brad King c83ae4673d ENH: Improved indentation of generated cmake_install.cmake code. 2007-07-02 11:02:52 -04:00
Brad King c8b263c674 ENH: Enable versioned executable test everywhere but XCode. 2007-07-02 09:58:08 -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
Bill Hoffman 374430da04 ENH: remove more machines 2007-06-29 11:30:28 -04:00
Bill Hoffman e949f4afa1 ENH: make DartLocal.conf part of project 2007-06-29 11:18:08 -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 5b18b80b58 ENH: initial support for assembler in cmake, needs testing by our users
Alex
2007-06-28 09:14:27 -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
Alexander Neundorf d44bd2551c BUG: use ${LANG}_COMPILER_ARG1 also here, otherwise some compilers won't be
able to compile e.g. the C++ source file (e.g. the ADSP compiler needs -c++
for compiling C++ files)

Alex
2007-06-27 14:55:42 -04:00
Brad King 04525424af BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency. 2007-06-27 13:22:45 -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 a5e6f52a96 ENH: Added GNU/Hurd platform. Taken from debian patch 407155. 2007-06-27 11:42:10 -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
Alexander Neundorf 07613ff7f8 COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY
Alex
2007-06-27 08:43:06 -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
Alexander Neundorf ae47302529 ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler

Alex
2007-06-26 15:30:02 -04:00
Alexander Neundorf 25a425ecf0 ENH: 2007-06-26 15:15:52 -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 cd8687782b ENH: add basic support for sdcc (http://sdcc.sourceforge.net), needs sdcc (sdcclib) cvs for creating libraries)
Alex
2007-06-26 13:19:46 -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