• Matt McCormick's avatar
    Ninja: add CMAKE_JOB_POOLS variable as default for JOBS_POOLS · 07185055
    Matt McCormick authored
    This enables configuration of build parallelism with the Ninja generator by
    passing arguments on the command line to CMake. For example,
    
      cmake \
        '-DCMAKE_JOB_POOLS:STRING=compile=5;link=2' \
        -DCMAKE_JOB_POOL_COMPILE:STRING=compile \
        -DCMAKE_JOB_POOL_LINK:STRING=link \
          ~/src/MyProject
    07185055
CMAKE_JOB_POOLS.rst 194 Bytes