[Cmake] cmake tries to build foo.h.obj when foo.h.in is in SOURCE_FILES()

Wheeler, Fred (CRD) wheeler at crd.ge.com
Thu Mar 14 14:56:06 EST 2002


vxl/vcl/CMakeListsHeaders.txt contains the following

SOURCE_FILES( vcl_sources
  vcl_where_root_dir.h.in
  vcl_config_compiler.h.in
  vcl_config_headers.h.in
  vcl_config_manual.h.in

  vcl_algorithm.h
  vcl_bitset.h
  vcl_cassert.h
  ...

CMake seems to think that the "*.in" files are source code that should be compiled with the compiler.
It generates nmakefiles that try to build vcl_where_root_dir.h.obj.  I'm using today's CVS source for
cmake (and vxl).

Should this be fixed by removing the "*.in" files from the SOURCE_FILES command, or
is this a cmake problem?

Thanks,
Fred Wheeler



More information about the CMake mailing list