Stephen Kelly wrote:
> I still think you should revisit my review mail on point 2 too.

Something that becomes possible when thinking about the above and target 
properties is interface requirements. 

If my library uses 'final' unguarded by macros in my headers, then I want to 
communicate through the target that a compiler supporting that feature is 
required.

 set_property(TARGET foo PROPERTY INTERFACE_CXX_COMPILER_FEATURE_final 1)

which would work similiarly to (and using the same infrastructure as) 
INTERFACE_POSITION_INDEPENDENT_CODE.

Thanks,

Steve.


--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to