Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: earlgrey on September 04, 2014, 08:45:10 pm

Title: Adding to a project a file not belonging to any target
Post by: earlgrey on September 04, 2014, 08:45:10 pm
Hello 2 all,

Just one remark :

It is currently impossible to add a file to a project without affecting it to at least one build target ( a fleeting dialog shows and disappears, and file is not added ).
However this can be achieved further in the file's properties, or in the build target's properties.

Regards -


Title: Re: Adding to a project a file not belonging to any target
Post by: oBFusCATed on September 04, 2014, 09:50:06 pm
And the problem is?
Title: Re: Adding to a project a file not belonging to any target
Post by: earlgrey on September 05, 2014, 05:35:53 pm
I would like to be able to add a file ( lets say a bash script ) to a C/C++ project without affecting it to any target, directly from the "add files to project..." dialog.

Just a question of comfort.

This is just a suggestion.

Regards -
Title: Re: Adding to a project a file not belonging to any target
Post by: earlgrey on September 07, 2014, 08:13:59 am
In fact it would be nice to be able to create projects without any target at all, just for organizing accessory files with the virtual folders.
Title: Re: Adding to a project a file not belonging to any target
Post by: Jenna on September 07, 2014, 08:38:48 am
In fact it would be nice to be able to create projects without any target at all, just for organizing accessory files with the virtual folders.

The easiest solution/workaround for this is to have (dummy-)target that will never be compiled.