This option only works when using "make" for the build process (it should 've been clearly stated). Go to "Settings/Configure plugins/Compiler", then switch to the "Other" page and select GNU "make" as the build method.
If you want to use your own supplied makefile, don't forget to check the "This is a custom Makefile" checkbox in project properties.
HTH,
Yiannis.