[CMake] setting a default build type

Jan Woetzel jw at woetzelweb.de
Thu Sep 7 11:33:15 EDT 2006


Alan W. Irwin wrote:

> Its a cached variable.  So I think what you want is
>
> SET (CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "Flags used by the compiler

No, Cmake  (at least 2.4.2) is not generating any ".suo" file at all.
Thus neither CMAKE_BUILD_TYPE nor CMAKE_CONFIGURATION_TYPES will help 
with teh default setting.

Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  Uni Kiel
  Institut f. Informatik und Praktische Mathematik
  Hermann-Rodewaldstr. 3  [Raum 310]
  24098 Kiel/Germany
--------------------------------------------------
  Tel    +49-431-880-4477
  Fax    +49-431-880-4845
  Privat +49-431-802872
  Mob.   +49-179-2937346
--------------------------------------------------
  Url    www.mip.informatik.uni-kiel.de/~jw
  Email  jw at mip.informatik.uni-kiel.de
  Privat jw at WoetzelWeb.de



More information about the CMake mailing list