[Cmake] CMake version 2.0 beta
Ken Martin
ken.martin at kitware.com
Mon, 17 May 2004 14:33:11 -0400
Hello folks,
On behalf of Bill, Brad, Andy and the rest of the CMake team, we are =
pleased
to announce that the beta version of CMake 2.0 is available for =
download.
CMake 2.0 includes a number of bug fixes and improvements from 1.8.3. We
believe that CMake 2.0 is fully backwards compatible with CMake 1.8 (or
course we believe a great many things that may not be true :-). A list =
of
changes from 1.8 is included below. Thanks to everyone for helping out =
with
feedback, dashboards, patches, and suggestions. If you run into any =
problems
please either enter a big on the bug tracker or email this list.
Thanks
Ken
- Platform independent Install (no more install-sh); supports pre =
install,
post install, manifest, destdir...; faster and it works on Windows=20
- Add support for SWIG
- Optional support for relative paths
- INCLUDE and FIND_PACKAGE both check CMAKE_MODULE_PATH=20
- IF command supports better expression support, like IF(A AND B AND C)
- IF command now has a numeric EQUAL test
- MACRO's now support variable arguments
- FOREACH supports a RANGE of values generator
- CMake supports an automatic pre-load cmake file in the source tree of =
a
project.
- GET_TARGET_PROPERTY can give you the build location of a target.
- Loaded commands have a crash signal handler to detect crashes not =
caused
by cmake.
- GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change
include directories and get all sorts of things.=20
- VEBOSE build option for visual studio IDE generators.
- FIND_LIBRARY and FIND_PATH now look in CMAKE_LIBRARY_PATH and
CMAKE_INCLUDE_PATH environment variables in addition to and before the =
PATH
environment variable.
- Each sub project in a project now creates a top level IDE =
project/solution
file so it can be loaded independently.
- A safety check was added to make sure that files written using =
WRITE_FILE
and FILE WRITE are not used as input files which can lead to infinite =
loops
in the build.
- Add support for adding object files and sources. This way you can use
external program such as assembler or fortran to generate object files. =
Also
start of fixing: Bug #757
- add .o file as a source file.
- New REMOVE_DEFINITION command, opposite to ADD_DEFINITIONS.
- CCmake support for HOME and END keys. Also fix Bug #666, in CCMake =
when
deleting something, it does not stop at the beginning of line.
- Fix external projects for VS7 and VS6.
- New support for import of modules without specifying a path.
- New testing option to build and run an executable --build-and-test.
- Support for shared library versions on UNIX.
- SUBDIR command now supports PREORDER build option.
- Add support for file names with +-~ in them for borland compiler.
- Mac OSX bundle executable creation support with the ADD_EXECUTABLE
command.
- CTest Support for in-source builds.
- CTest Skip tests that do not have defects.
- CTest new option -I that adds the ability to run a limited sub-set of =
the
tests.
- CTest support for Valgrind and Purify.
- CTest New testing script support,that allows the nightly testing =
process
to be automated.
- New Find modules: FindPHP4.cmake, FindPerlLibs.cmake, FindPike.cmake,
FindRuby.cmake, FindSWIG.cmake, UseSWIG.cmake
- Many bug fixes and other minor changes.