[cfe-dev] Adding a compile option to the latest llvm/clang build

Edward Diener via cfe-dev cfe-dev at lists.llvm.org
Mon Jan 30 03:12:04 PST 2017


On 1/30/2017 12:17 AM, mats petersson via cfe-dev wrote:
> Can you be more specific as to what you are trying to do, and what it
> actually does? An example would be great!

I see that this is a change to the CMake gui problem, not a change to 
clang. The CMake gui program no longer lists common CMake variables. The 
one I needed was CMAKE_CXX_FLAGS. I had to manually add it.

>
> On 30 January 2017 at 07:21, Edward Diener via cfe-dev
> <cfe-dev at lists.llvm.org
> <mailto:cfe-dev at lists.llvm.org>> wrote:
>
>     It was previously possible to add a compiler option to the build of
>     llvm/clang using CMake. Yet when I tried the cmake-gui program
>     against the latest llvm/clang updates the cmake setting to add
>     compiler optons when building llvm/clang was no longer there. How do
>     I do this with the latest version of llvm/clang ?
>
>     _______________________________________________
>     cfe-dev mailing list
>     cfe-dev at lists.llvm.org
>     <mailto:cfe-dev at lists.llvm.org>
>     http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>     <http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>





More information about the cfe-dev mailing list