[Cmake] Many Changes to CMake internals

Ken Martin ken.martin at kitware.com
Thu Jun 27 16:56:29 EDT 2002


I just checked in a ton of changes to CMake to remove source lists
from all of CMake's internals. I believe than in most every case
existing CMakeList files should still work. If they do not work try
deleting your CMakeCache file first, then let me know if the problem
persists.

In a nutshell I made it so that everything that takes or produces a
source list now takes and produces a simple list e.g.
foo.cxx;bar.cxx;etc.cxx. While I did this I changed some cache entries
CMake made to include _CMAKE_PATH tacked onto the end. These were
automatic cache entries made for each executable and library.
Previously an executable called foo would create a cache entry called
foo, not it is called foo_CMAKE_PATH. These cache entries are used
internally by CMake.

The net effect of this is that commands like

ADD_LIBRARY(foo FOO_SRCS) will work as they did before, but

ADD_LIBRARY(foo ${FOO_SRCS}) will also work (and will be the preferred
way in the future)

There are some performance issues (and probably a bug or two) that I
will address shortly.

Thanks
Ken


--------------------------
Ken Martin, PhD
Kitware Inc.
518 371-3971 x101
469 Clifton Corporate Pkwy.
Clifton Park, NY 12065




More information about the CMake mailing list