Author Topic: Adding to a project a file not belonging to any target  (Read 9736 times)

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 88
Adding to a project a file not belonging to any target
« 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 -


* OS = Debian Jessie - Linux 3.15.5 x64 SMP
* C::B = svn10631 wx-( 2.8.12 / 3.0.2 )-( Linux, unicode ) 64 bit + http://forums.codeblocks.org/index.php/topic,20608.15.html

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11825
    • Travis build status
Re: Adding to a project a file not belonging to any target
« Reply #1 on: September 04, 2014, 09:50:06 pm »
And the problem is?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 88
Re: Adding to a project a file not belonging to any target
« Reply #2 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 -
* OS = Debian Jessie - Linux 3.15.5 x64 SMP
* C::B = svn10631 wx-( 2.8.12 / 3.0.2 )-( Linux, unicode ) 64 bit + http://forums.codeblocks.org/index.php/topic,20608.15.html

Offline earlgrey

  • Multiple posting newcomer
  • *
  • Posts: 88
Re: Adding to a project a file not belonging to any target
« Reply #3 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.
* OS = Debian Jessie - Linux 3.15.5 x64 SMP
* C::B = svn10631 wx-( 2.8.12 / 3.0.2 )-( Linux, unicode ) 64 bit + http://forums.codeblocks.org/index.php/topic,20608.15.html

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Adding to a project a file not belonging to any target
« Reply #4 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.