On Mon, Apr 17, 2017 at 5:04 AM, Tiago Macarios
wrote:
> Thanks Craig! That works. Just to confirm, there is no way to disable
> extensions for a single interface?
>
Not that I'm aware of.
>
> On Sun, Apr 16, 2017 at 1:51 AM, Craig Scott
> wrote:
>
>> As per my other email just now, you shou
Thanks Craig! That works. Just to confirm, there is no way to disable
extensions for a single interface?
On Sun, Apr 16, 2017 at 1:51 AM, Craig Scott
wrote:
> As per my other email just now, you should be able to achieve what you
> want with the new CMake 3.8.0 release:
>
> add_library(a_lib INT
As per my other email just now, you should be able to achieve what you want
with the new CMake 3.8.0 release:
add_library(a_lib INTERFACE)
target_compile_features(a_lib INTERFACE cxx_std_11)
I did a quick test with the above just now and it seems to work as
expected. You may, however, still want
Hi,
Given a template-only library exposed throw an interface is it possible to
set the necessary CXX_STANDARD necessary to use the library? The code below
would be what I am trying to do.
add_library(a_lib INTERFACE)
set_property(TARGET a_lib
PROPERTY CXX_STANDARD 11
PROPERTY CXX_STANDAR