[cmake-developers] [PATCH] Fixed Borland linker issue when used with Ninja generator
Brad King
brad.king at kitware.com
Thu Jun 18 14:12:21 EDT 2015
On 06/18/2015 01:41 PM, James Johnston wrote:
> 3. Patch Windows-Embarcadero.cmake, as I propose here.
I think that makes sense.
> +set(CMAKE_JOB_POOL_LINK BCC32LinkPool)
Hmm. What if the user sets this too? Perhaps we should allow
users/projects to take control of this setting by making the
whole block conditional:
if(NOT DEFINED CMAKE_JOB_POOL_LINK)
> +get_property(_EMB_TMP_POOLS GLOBAL PROPERTY JOB_POOLS)
> +list(APPEND _EMB_TMP_POOLS BCC32LinkPool=1)
> +set_property(GLOBAL PROPERTY JOB_POOLS ${_EMB_TMP_POOLS})
This can be just
set_property(GLOBAL APPEND PROPERTY JOB_POOLS BCC32LinkPool=1)
Please try out all the above and send a revised patch.
Thanks,
-Brad
More information about the cmake-developers
mailing list