[CMake] ADD_DEFINITIONS in RC10
George Neill
georgen at neillnet.com
Fri May 2 10:05:34 EDT 2008
Brad,
> You should only see the new behavior if you call
>
> cmake_minimum_required(VERSION 2.6) # note value is 2.6 and not 2.4
... and of course that is what I did!
> or explicitly set this policy to NEW behavior. Otherwise CMake preserves
> the old behavior and warns. If you require 2.6 there is also this new
> feature:
>
> http://www.cmake.org/Wiki/CMake_2.6_Notes#Preprocessor_Definitions
Thanks!
Later,
George.
More information about the CMake
mailing list