Re: [cmake-developers] COMPILE_OPTIONS or COMPILE_FLAGS

2018-05-01 Thread Harry Mallon
Thanks Brad, I think I can use FLAGS for now then, but if my requirements get more complicated I'll use OPTIONS and require 3.11. I think the docs change would be helpful. Cheers, Harry Harry Mallon CODEX | Senior Software Engineer 60 Poland Street | London | England | W1F 7NT E harry.mallon@

Re: [cmake-developers] COMPILE_OPTIONS or COMPILE_FLAGS

2018-05-01 Thread Brad King
On 05/01/2018 06:33 AM, Harry Mallon wrote: > I just noticed that COMPILE_OPTIONS is 3.11.0 only. I can’t understand > from the docs which of COMPILE_OPTIONS or COMPILE_FLAGS is preferred > and why I might use one or the other. COMPILE_OPTIONS for targets has existed for a long time. What is new

[cmake-developers] COMPILE_OPTIONS or COMPILE_FLAGS

2018-05-01 Thread Harry Mallon
Hi all, I just noticed that COMPILE_OPTIONS is 3.11.0 only. I can’t understand from the docs which of COMPILE_OPTIONS or COMPILE_FLAGS is preferred and why I might use one or the other. I will use COMPILE_FLAGS as it is supported on 3.10 (which we have on our linux build machine) for now. I am