gen setting with source code path