Setting default make options for Qt Creator?

后端 未结 4 1156
渐次进展
渐次进展 2021-02-01 20:37

How can i override default make parameters , which is:

make -w

Each time i create a project , i had to modify project settings , adding -j4

4条回答
  •  梦谈多话
    2021-02-01 21:18

    If you want -jx parameter to be default each time you create a new or open some project, you must add enviroment variable MAKEFLAGS to your system with value -jx.

    For example, at ubuntu for 8 - threding compilation this options can be realized by adding

    MAKEFLAGS="-j8"

    to /etc/enviroments

    Result will be: enter image description here

提交回复
热议问题