Please put your engines source codes in following directory.
You can put source code into cocos2d-x-2.x
directory. But the refactoring branch does NOT support cocos2d-x-2.x now.
You can put source code into cocos2d-x-3.x
directory. The refactoring branch only supports cocos2d-x 3.2 currently.