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

Add new IL2C.Toolchain.msvc #118

Open
kekyo opened this issue May 11, 2022 · 1 comment
Open

Add new IL2C.Toolchain.msvc #118

kekyo opened this issue May 11, 2022 · 1 comment
Projects

Comments

@kekyo
Copy link
Owner

kekyo commented May 11, 2022

#79 totally omitted IL2C.Runtime.msvc NuGet package.
Have to add new driver for MSVC by IL2C.Toolchain.msvc same interface as IL2C.Toolchain.gcc4.mingw32.

This is because it cannot contain VC binaries :

  • Detect installed VC
  • reflect its configuration in the PropertyGroup

and it should be a small package.

Maybe it could be written in an inline task in MSBuild (inline tasks have strong restrictions on reference assemblies, so if we can't use Microsoft.Win32.Registry, we need to collect the information in an external process or write a custom task). Custom tasks have platform compatibility issues, so if we do it, it will be an external process.

(Even in #79, the custom task is replaced with an external process drive.)

@kekyo
Copy link
Owner Author

kekyo commented Jun 6, 2022

The current compiler driver implementation has some hard-coding that is dependent on gcc in places.
To completely eliminate this problem, it is thought that a kind of template engine or string replacement is needed for command line generation of compiler execution.

I feel this topic is a little big to frame for VC support, might split the issue.

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

No branches or pull requests

1 participant