generated cpp files will no longer require CPP if compiled with '-D NO_CPP_PORTAL_CODE'