[CMake] Re: bug ADD_DEFINITIONS

Jan Woetzel jw at mip.informatik.uni-kiel.de
Thu Jun 8 08:30:07 EDT 2006


Jan Woetzel wrote:

>> SET_SOURCE_FILES_PROPERTIES( ${FN2}  PROPERTIES COMPILE_FLAGS
>

By the way,
ADD_DEFINTIONS has another bug in Visual Studio 7.1 generator,
see my bug report 3354

Example:
ADD_DEFINTIONS( -foo )
adds
/D "-foo"
instead of
-foo

Still talking about cmake 2.4.2 on Windows with MSVS .net 2003 generator.

Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list