pavelliavonau/cmakeconverter

Code cannot handle relative project setups.

smaudet opened this issue · 1 comments

Describe the bug
Custom setups where vcxproj files are in a separate directory to the source code are not properly supported. Requires a lot of manual retargeting as the code makes a bunch of invalid assumptions about where these two live relative to one another.

To Reproduce
Make a VCXPROJ with sources, includes, libs, in a separate directory relative to project root.

Expected behavior
Produces a valid CMakeLists.txt

Additional context
Additionally there is a large amount of junk or overkill pathing, the pathing code in general could be dramatically overhauled and probably most of it deleted.

My case of splitted code works fine. Provide sample of solution to reproduce.