[Insight-developers] More CMake Changes

Ken Martin ken.martin@kitware.com
Tue, 24 Apr 2001 16:56:41 -0400


Hello Folk,
I checked in a bunch of CMake changes to help cleanup many of the older
rules and fix some bugs. Old rules such as WIN32_DEFINES have been replaced
with
IF (WIN32)
  ADD_DEFINITIONS(...)
ENDIF (WIN32)
The old rules are still around and will print out an error message (and
fail) if they are used. The error message should include the path to the
CMakeList file that is using the old rule plus instructions on how to fix
it.  In a few more days I'll remove the old rules from the build. The
effected rules are listed below:
cmSourceFilesRequireCommand.cxx:
cmUnixDefinesCommand.cxx:
cmUnixLibrariesCommand.cxx:
cmWin32DefinesCommand.cxx:
cmWin32IncludeDirectoryCommand.cxx:
cmWin32LibrariesCommand.cxx:

Ken