[CMake] add files to visual studio without compliation

Jan Woetzel jw at mip.informatik.uni-kiel.de
Wed Oct 13 11:54:04 EDT 2004



Peter Vanroose wrote:

>> (1) How can I add files to a project/workspace without creating a 
>> compilation target for them using cmake ?
>
> By making sure that the file extension is not .cxx or .cpp but e.g. 
> .txx or .h  

That should work.
Thanks for the hint, Peter.

However, I don't want to rename, because
(1) I don't like renaming in CVS ...
(2) some users use implicit template instantation and compile the 
.txx/.cpp files directly (without using the explicitly instantiated 
library).

Regards, 
Jan.

-- 
  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 401]
  24098 Kiel/Germany
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de




More information about the CMake mailing list