Run code generation during both compile & compile-test phases