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

CLR support #1513

Closed
Alex1992rus opened this issue Jan 31, 2019 · 3 comments
Closed

CLR support #1513

Alex1992rus opened this issue Jan 31, 2019 · 3 comments

Comments

@Alex1992rus
Copy link

Is it possible to compile VS project with /clr option?

@terrelln
Copy link
Contributor

I don't know the Microsoft ecosystem. I googled it, but I don't clearly understand what /clr does. Could you explain to me what it is, and why you need the VS project to be compiled with it?

@Alex1992rus
Copy link
Author

I have a problem similar like this dotnet/corefxlab#1673. And i'm trying to find managed implementation of a good compression algorithm. I have tried to move code to clr project but my c++ is not so good.

About clr:
https://stackoverflow.com/questions/114238/difference-between-managed-c-and-c
https://stackoverflow.com/questions/57923/what-exactly-is-managed-code
In visual studio community 2015 clr project located in "File/New/Project/c++/clr/Class Library".

@terrelln
Copy link
Contributor

terrelln commented Feb 1, 2019

I see, Managed C++ is compiled to something sort of like bytecode that can be a bit more portable. We won't add this to our project, since the VS project is used for our CI.

However, you can clone/fork the repo, or just copy lib/ into your own project, and compile with that option. I would offer to help more, but I know next to nothing about this topic.

@terrelln terrelln closed this as completed Feb 1, 2019
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