[Cmake] Command to specify "non-source" files

Amitha Perera perera at cs.rpi.edu
Sun Mar 17 22:14:38 EST 2002


Prompted by Fred's message from a while ago (below), I wonder if CMake
should have a separate command to specify non-compiled files, such as
header files and these .in files. Perhaps with some way to give them a
title. This would enable, under Visual Studio, for people to edit
these files in a single environment, and it could potentially be used
for any other IDE. Something like
  AUXILLARY_FILES( "Headers"  a.h b.h c.h )

Or perhaps CMake should simply classify any "non-source" file as a
header file.

Thoughts?

Thanks,
Amitha.


On Thu, Mar 14, 2002 at 02:56:06PM -0500, Wheeler, Fred (CRD) wrote:
> 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
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake



More information about the CMake mailing list