Re: [CMake] Accessing -fPIC and -std settings within CMake definitions

2019-11-03 Thread Eric Doenges
Am 01.11.19 um 11:02 schrieb Stephen Morris: I'm setting up a custom build step to build a precompiled header in gcc (yes I know that native support is coming with CMake 3.16, but I need to get something working on an older version). My approach is basically to set up a custom command thus:

[CMake] Accessing -fPIC and -std settings within CMake definitions

2019-11-01 Thread Stephen Morris
I'm setting up a custom build step to build a precompiled header in gcc (yes I know that native support is coming with CMake 3.16, but I need to get something working on an older version). My approach is basically to set up a custom command thus: set_target_properties(mytarget PRIVATE