User forums > Help
Compiler Options
jfpjr:
I am trying to add the options found in a make file to a code::blocks project and can't seem to find the right combination.
CPPDEPS = -MT$@ -MF$@.d -MD -MP.
Have searched the forums and couldn't find anything.
oBFusCATed:
Care to explain what is the purpose of these options?
jfpjr:
Definitions on these option are here.
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Preprocessor-Options.html
They are listed in a make file I am trying to convert to a project and am trying to match the compiler output between the two.
oBFusCATed:
You can't literally.
You have to make multiple project in a workspace or multiple targets in a project.
You can set dependencies between project and the targets are compiled from top to bottom.
jfpjr:
To answer my own question.
I found on the Settings Menu->Compiler->Other settings->Advanced settings button->Command->Generate dependencies for file->Command $compiler -MM $options -MF $dep_object -MT $object $includes $file
Evidently it is done behind the scene by code::blocks.
Thanks for the reply.
Navigation
[0] Message Index
[#] Next page
Go to full version