[CMake] [cmake 2.8.10.2] Eclipse discovery command
Nick Overdijk
nick at astrant.net
Mon Jul 1 07:04:29 EDT 2013
Hurderp ignore that. Sorry. Eclipse is not my thing. :( Missed the subject.
On 2013-01-07, at 12:26:30 , Wojciech Migda wrote:
>
> Hi,
>
> I am trying to add an extra compiler option to the discovery command, e.g. -std=c++0x.
> From googling around and by trial and error CMakeLists.txt editing I am unable to achieve that. I tried:
> 1. setting CMAKE_CXX_FLAGS
> 2. invoking add_definitions
> 3. setting CMAKE_REQUIRED_FLAGS
> I do have C and CXX languages specified in the project command.
>
> Has anyone tried to do something like this and succeeded, or maybe such functionality in CMake is non-existent ?
>
> Many thanks in advance.
>
> With best regards,
>
> Wojciech
> --
>
> 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
More information about the CMake
mailing list