[Cmake] Automatic extensions [Was: Custom Commands]

Brad King brad.king at kitware.com
Wed May 15 19:55:17 EDT 2002


> On Wed, May 15, 2002 at 05:20:42PM -0400, Brad King wrote:
> > Try modifying your SOURCE_FILES command to refer to the file as
> > "gensrc.cxx" instead of "gensrc".
> 
> Perhaps this should become a requirement for version 1.4
> CMakeLists.txt files: no more automatic extensions.

The problem is that CMake 1.4 should be able to build projects from CMake
1.0.  Perhaps we could say that automatic extensions are not supported if
the CMAKE_REQUIRED_VERSION setting is 1.4 or higher.

-Brad




More information about the CMake mailing list