Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] [EXTERNAL] Re: Proposal for cdt resources decoration.

Thanks, Liviu,
It is exactly true. 
For the managed-build project sources specified for particular build configuration and only defined source will be used. 
That was the main reason to decorate other resources as non-used by the active builder.
  


ср, 7 окт. 2020 г. в 21:50, Liviu Ionescu <ilg@xxxxxxxxxx>:


> On 7 Oct 2020, at 21:12, Belyavsky, Baltasar <bbelyavsky@xxxxxx> wrote:
>
> For managed-build projects, which use generated makefiles, *all* folders are used during build as long as they contain buildable resources.  I.e. not only source-folders, but regular folders too, are included in build.  Unless they are explicitly excluded from build using the “Exclude from Build” action.

This is probably the result of the default used by the Create New Project code, that adds the project root as a source folder.

If you remove that definition and add only specific folders, like 'src', the behaviour that you observed is avoided.

My project templates do not add the project root as source folder, to avoid compiling tests, samples, and other unwanted files.


Regards,

Liviu

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev


--
Best regards,  
Sergei Kovalchuk

Back to the top