Re: [CMake] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-15 Thread Eric Noulard
Hi all, No answer whatsoever on this? Initial contributor of Ninja job pool appears to be Peter Kümmel: commit 7605e37aabae2678e5696a75e84aced2e84f9037 Author: Peter Kümmel Date: Sat Nov 23 10:49:36 2013 +0100 I'd like to be able assign some custom targets to a ninja job pool. If I were to im

[CMake] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-05 Thread Eric Noulard
Hi all, We have a bunch of custom_target and a subset of them should be run in sequence. So we tried to define: set_property(GLOBAL PROPERTY JOB_POOLS exclusive=1) and then: set_property(TARGET my_custom_target PROPERTY JOB_POOL_COMPILE exclusive) set_property(TARGET my_custom_target PROPERTY J