It should be possible to configure a project file
Example commands to check a file foo.cpp using settings from project file test.cppcheck:
cppcheck --project=test.cppcheck --file-filter=foo.cpp
Or:
cppcheck --project=test.cppcheck --file-filter=+ foo.cpp