-
-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate Linux support for Visual Studio as part of the vstudio modu…
…le (#2124) * Integrate Linux support for Visual Studio as part of the vstudio module * Add documentation for the new Linux apis * Fixed cppdialect mappings * Add more information to incorrect toolchainversion message * Fix whitespace * Add documentation for toolchainversion Linux variants * Use lowercase for toolchainversion * Change to longer name * Trim down the functions that Linux supports * Add Linux apis to the sidebar * Fix incorrect indentation from the web editor * Restore original formatting * Specify that the API is only valid from beta 3 onward
- Loading branch information
Showing
10 changed files
with
559 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
897b646
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Using x86 for linux builds defaults to WIN32
897b646
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried it and you're right, it's due to these lines. Shouldn't be hard to come up with a proper solution. Not sure why this remapping is needed, someone with a bit more knowledge should be able to chime in
897b646
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also noting, which may be an issue from the above Win32. That my additional includes get .lib added on after the .a(links { "static.a" } shows static.a.lib
There are also a lot of other issues i'm not sure if is a premake issue or wsl issue.
Copying files, you need to rebuild to get new files on wsl
Not finding libs and having to manually copy them
Not getting correct paths when linking to other premake projects
targetdir and objdir are just fully ignored
My situation is a large existing project. As such cannot share much. If needed i can create a demo project in the future that shows these issues
897b646
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good way to test that would be to recreate a similar (simpler) setup in VS native and see what's missing from the Premake generated one. Another good test, if it's possible for you, is to test it with x64? I never experienced the x86 issue because I don't compile for 32-bit platforms, so that one's on me. I'll see if I can fix it this weekend
897b646
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be working now