I was wondering why the CMakeLists.txt file made no use of this CMake feature, 
doesn’t it work or is there some other reason?

 

Rather than `make -j4` or `make -j8` this might make it automatic.

 

>From Cmake documentation on ProcessorCount valid for AIX, cygwin, FreeBSD, 
>HPUX, IRIX, Linux, Mac OS X, QNX, Sun and Windows:

include(ProcessorCount)

ProcessorCount(N)

if(NOT N EQUAL 0)

  set(CTEST_BUILD_FLAGS -j${N})

  set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${N})

endif()

 

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to