Compiling multiple languages together

2019-02-19 04:18发布

Is it possible to compile multiple languages together in order to get the best of the different languages.

7条回答
等我变得足够好
2楼-- · 2019-02-19 04:46

If you're using .net, you can compile your projects in different languages to netmodules and then link them into a single dll/exe. Visual Studio doesn't support this but msbuild does. The easiest way to get a compile is to edit a COPY of your .csproj file and change the output type to "module" and just run msbuild against it. Then use the "link" command to link your modules into your final exe/dll.

查看更多
登录 后发表回答