How to enable Eclipse to autobuild/autosave changes before run (CDT)

后端 未结 2 1208
我在风中等你
我在风中等你 2020-12-10 16:59

I\'m trying to conveniently have the updated code in effect when I click the run button in Eclipse. At present it will run the last build and I have to manually click build

相关标签:
2条回答
  • 2020-12-10 17:12

    There are multiple settings for auto building. The one you could be missing is the setting under Launching.

    enter image description here

    Two other settings are here:

    enter image description here

    And the last setting is the one you likely already know about:

    enter image description here

    0 讨论(0)
  • 2020-12-10 17:20

    If you want to automatically build your project on save (or before run, if needed), then from tool-bar menu go to

    Project -> Properties -> C/C++ Build -> Select Behaviour Tab on the right panel, -> tick the "Build on resource save(Auto build)" , finally hit OK

    That is it...

    0 讨论(0)
提交回复
热议问题