Hey,
I’m modifying PhysX and UE code to add torus collision to PhysX. I made a ton of modifications to the source code and added a few new files. I placed those files in the right directories - next to other related files.
I then run Engine\Source\ThirdParty\PhysX3*GenerateProjects_UAT.bat* script which generates the solution and project files for VS. And it works fine, but the newly added files are not part of the project, The old ones are there and it compiles fine when I add new files manually to the project from VS.
What I don’t understand is how GenerateProjects_UAT.bat or cmake or any other scripts knows which files are old or new. As far as I read somewhere, those directories are simply scanned in search for files. So both old/new files should be added to the project.
I’m not using Perforce. I’m using Git if that changes anything. I removed “[RequireP4]” line from BuildPhysX.Automation.cs. I’m using VS2017 with 2015 toolset.
Any ideas how to fix that? Is there a cache of those files?
Removing old project/solution didn’t help. They are recreated every time.
Side note: I have to admit that managing builds of a project of such size is true hell. Nothing is simple anymore. Too much code, too many languages, platforms, dependencies, scripts… How can anyone feel comfortable in the middle of that mess?
I would be very thankful for any hints!