JOB_POOL_COMPILE.rst 493 B

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