JOB_POOL_COMPILE — CMake 4.4.3 Documentation

# JOB_POOL_COMPILE

Added in version 4.2.

Ninja only: Pool used for compiling.

The number of parallel compile processes could be limited by defining pools with the global `JOB_POOLS` property and then specifying here the pool name.

This allows to override the `JOB_POOL_COMPILE` value for specific source files within a same target.

For instance:

    set_property(SOURCE main.cc PROPERTY JOB_POOL_COMPILE two_jobs)

This property is undefined by default.

## See Also

- `JOB_POOL_COMPILE` file set property

- `JOB_POOL_COMPILE` target property