[CMake] modifying cmake_build_type cflags per target

Stéphane Ancelot sancelot at numalliance.com
Tue Nov 19 06:09:49 EST 2019


Hi,

I have a particular target (using swig / jni) that must not have -O3 
-NDEBUG flags from Relase build type

How can I overload this target flags ?

Regards,

S.Ancelot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191119/37af0aa5/attachment.html>


More information about the CMake mailing list