On 06/09/2014 11:40 AM, Ben Boeckel wrote:
> So add_compile_options exists now, but is still not a 100% replacement
> for CMAKE_CXX_FLAGS_${config} because the flags are only used for the
> .c -> .o step and not for linking. Some flags need to be passed to the
> linker as well (in my case, profiling flags, but I imagine other tooling
> flags, standards, and probably LTO need to be passed consistently). Are
> there plans for an add_link_options (or add_link_flags) command as well?

See thread here:

 push of LinkOptionsCommand topic branch
 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/9203

IIRC there were a couple of minor unresolved issues but it is mostly
just waiting for someone to have time to take it to completion.

-Brad

-- 

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/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to