JOB_POOL_COMPILE.rst 516 B

123456789101112131415161718192021
  1. JOB_POOL_COMPILE
  2. ----------------
  3. .. versionadded:: 4.2
  4. Ninja only: Pool used for compiling.
  5. The number of parallel compile processes could be limited by defining
  6. pools with the global :prop_gbl:`JOB_POOLS`
  7. property and then specifying here the pool name.
  8. This allows to override the :prop_tgt:`JOB_POOL_COMPILE`
  9. value for specific source files within a same target.
  10. For instance:
  11. .. code-block:: cmake
  12. set_property(SOURCE main.cc PROPERTY JOB_POOL_COMPILE two_jobs)
  13. This property is undefined by default.