Eclipse adding your own build command

后端 未结 4 2039
别那么骄傲
别那么骄傲 2020-12-13 19:24

I am new to eclipse and wanted to do the following:

  1. Use my custom build commands with eclipse. Until now I only saw make all. I use a shell script
4条回答
  •  我在风中等你
    2020-12-13 19:56

    In addition to what smeg4brains said and assuming that you are using the CDT plugin you can go to:

    project -> properties -> C/C++ Build

    Uncheck Use default build command on the Builder Settings tab and replace make with e.g. scons.

    On the Behaviour tab you can then specify the target to call for the Build and Clean phase.

    To resolve your second issue open the Project menu and uncheck Build automatically. This will prevent Eclipse from building the project when it thinks it is necessary.

提交回复
热议问题