On 04/28/2015 02:22 PM, Daniel Schepler wrote:
> As I understand it, configuration-specific properties are deprecated in favor 
> of generator expressions.  For example:
> 
> target_compile_options(openjpeg PRIVATE
>   $<$<CONFIG:Release>:-ffast-math>)
> 

Thanks, that helps.  Perhaps not as simple as a global variable, but perhaps
cleaner then too.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to