[cmake-developers] Generator expressions for <archive|library|runtime> output directory
Robert Goulet
Robert.Goulet at autodesk.com
Fri Aug 14 15:28:46 EDT 2015
Hi Brad,
I got a patch working for the OUTPUT_NAME genex recursion problem, however I'm not sure where to store the map. The function GetOutputName is const, so I can't change the map if it's stored in the cmGeneratorTarget class, unless I remove a bunch of const from many functions, which is not ideal. Any suggestion as to where I should store the map? Should we introduce an "internal" pointer like in cmTarget class?
Thanks!
-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Thursday, August 13, 2015 10:33 AM
To: Robert Goulet <Robert.Goulet at autodesk.com>
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] Generator expressions for <archive|library|runtime> output directory
On 08/11/2015 01:51 PM, Robert Goulet wrote:
> Here's the updated patch for OUTPUT_DIRECTORY supporting genex.
Thanks. Applied with a few tweaks:
cmTarget: Detect and diagnose recursion in GetOutputInfo http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e36a05fd
Add generator expression support to OUTPUT_DIRECTORY target properties http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d25819bc
-Brad
More information about the cmake-developers
mailing list