[CMake] bug SET_SOURCE_FILES_PROPERTIES with files in subdirectory

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


Jan Woetzel wrote:

> see bug report 3353.
>
> SET_SOURCE_FILES_PROPERTIES( ${FN2}  PROPERTIES COMPILE_FLAGS 
> "-DSomeFlags_DBG_FOO2" ) # FIXME
>
> (1) Is there a workaround ?

Setting CMAKE_CXX_FLAGS directly is a global workaround.
However, I need set set defintions and flags per file.

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