Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code does not properly support vs script pathing. #118

Open
smaudet opened this issue Jul 21, 2020 · 3 comments
Open

Code does not properly support vs script pathing. #118

smaudet opened this issue Jul 21, 2020 · 3 comments

Comments

@smaudet
Copy link

smaudet commented Jul 21, 2020

Describe the bug
e.g. copy $(SolutionDir)....\file.txt does not properly get parsed, leading to corrupted CMakeLists.txt

To Reproduce
Use windows pathing in a vcxproj

Expected behavior
This should work.

Additional context
Additionally this seems to cause a cascade of other issues, such as VS variables not being replaced.

@pavelliavonau
Copy link
Owner

Pathing like this works. But there might be exceptions of this rule. With my cases it looks fine.
What case exactly do you have?

@pavelliavonau
Copy link
Owner

@smaudet , is it from build step/event?

@smaudet
Copy link
Author

smaudet commented Jul 30, 2020

@pavelliavonau yes, it is - I'll try to post an example later but my use case has something like so:

build/nested/dir
actual/src/dir

Then many, many projects in the nested project dir which have pre/post build events and reference stuff in actual/src/dir...

...it took me two days to manually reparse everything that was wrong (vs solution dirs, scripts with different functionality versus what you would expect, wrong directories - on top of moving CMakeLists to the source directory because some ides expect things to work that way...

I got some patches half working but I don't have a ton of time, I got it half all fixed, but figured I should document my woes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants