简体   繁体   中英

Eclipse c++ how to reinclude excluded file from build

In eclipse is possibile to exclude from compilation any resource.

How:

  • select *.cpp
  • right-click with mouse:
    • Resource Configuration -> Exlude from build

How to reinclude?

In eclipse there's not a similar way to reinclude resource, like:

  • Resource Configuration -> Reinclude from build

You need to go in Project Proprerties (Alt+Enter) and go:

C/C++ General -> Paths and Symbols

Select tab

Source Location

and expand your project's folder: here you can select filter that you want to remove and click on " Edit Filter " and then " Remove ".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM