[CMake] math(EXPR) and unary operators
cowwoc
cowwoc at bbs.darktech.org
Tue May 1 22:21:13 EDT 2012
Apparently this issue is 3 years old:
http://public.kitware.com/Bug/view.php?id=8996
Gili
Rolf Eike Beer wrote
>
> George Koehler wrote:
>> math(EXPR) rejects expressions with negative numbers. This is awful
>> because math() can reject its own negative results. For example, this
>> code fails:
>>
>> math(EXPR negative "1 - 2")
>> math(EXPR sum "100 + ${negative}")
>
> If you are touching this file anyway, do you see any chance of teaching it
> to
> deal with hex numbers, too? When dealing with the OpenSSL version defines
> I
> found out that this is currently not supported.
>
> Eike
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
--
View this message in context: http://cmake.3232098.n2.nabble.com/math-EXPR-and-unary-operators-tp7350163p7518780.html
Sent from the CMake mailing list archive at Nabble.com.
More information about the CMake
mailing list