single c++ file build handling