There's a bit of a mess with command line options passed to the compiler in a large PSoC Creator based project I'm working on. There's some per-file compiler options needed, but they're currently applied project wide, which is causing a substantial number of warnings in the build output.

I'd like to jump in and fix them, but the prospect of:

Find a source file

Right click, select "Build settings..."

Expand "Compiler" option, select "Command Line"

Fix the per-file command line options

Repeat

Isn't very compelling. I poked around with cyprjmgr.exe and the other tools in the bin folder, but I don't see a documented way to change these settings via a script.

Is there a command line tool available where I can change these settings?

If not, can someone elaborate how to identify where the per-file build settings are stored in the .cyprj file so I can use a script to do batch edits?