Syncing XCode and Visual Studio projects

I am creating a game as a learning project and I was coding in XCode all along. I wanted to see how the game works in Windows and switched to Visual Studio project and found out that none of the classes I added to the XCode project exists in VS Solution (and that’s expected). Is there a shortcut to sync the projects or do I have to manually add all the new files to vsproj?

I make use of symlink folders within proj.win32 along with the ‘all files’ solution view. This way you don’t have to maintain groups in VS and XCode.

proj.win32/generateSymLinkFolders.bat
cd %~dp0
rm Classes
rm Libs
rm Resources
mklink /d .\Classes …\Classes
mklink /d .\Libs …\Libs
mklink /d .\Resources …\Resources

2 Likes

I also make use of symlinks.