[CMake] debug/optimized include directories

David Cole david.cole at kitware.com
Tue Nov 1 16:47:22 EDT 2011


On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> On Tue, Nov 1, 2011 at 3:32 PM, David Cole <david.cole at kitware.com> wrote:
>>
>> Not yet
>
> Meaning there are plans in the works to add such functionality in the near
> future?
> For now I guess I could actually hard code VS environment variables in my
> include directory strings, such as $(Configuration).

There is a feature planned to add per-target include directories (as a
target property). As part of that work, we will probably naturally
also add per-configuration values of that new target property. It is
not yet added as a feature request in the bug tracker, but there are
related ones that I may "borrow" for the purpose. Stay tuned for more
info, but it is not coming in the next week or two. Hopefully, in time
for 2.8.7, but it depends on timing at this point.... so no promises.

For now, your $(Configuration) idea is probably your best bet. (And
would continue to work even after we implement this feature...)


HTH,
David


More information about the CMake mailing list