[cmake-developers] BISON_TARGET doesn't use CMAKE_CURRENT_BINARY_DIR as WORKING_DIRECTORY
Brad King
brad.king at kitware.com
Tue Jan 8 10:59:04 EST 2019
On 1/8/19 6:44 AM, Brad King wrote:
> On 12/25/18 1:17 AM, Mingjie Xing wrote:
>> The BISON_TARGET will run bison command in CMAKE_CURRENT_SOURCE_DIR.
>>
>> So I just wonder whither it is better for BISON_TARGET to use
>> CMAKE_CURRENT_BINARY_DIR as WORKING_DIRECTORY.
>
> Unfortunately this went unnoticed for years after the module was
> added. Changing it now would require a policy.
See proposed policy here:
https://gitlab.kitware.com/cmake/cmake/merge_requests/2774
-Brad
More information about the cmake-developers
mailing list