How to compile C++ code dynamically with clr support.

  • Thread starter Thread starter waqasm78
  • Start date Start date
W

waqasm78

Guest
I am compiling c++ code using the following batch file.

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvars32.bat"
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\cl.exe" /EHsc D:\test\test.cpp /FoD:\Test\ /link /out:D:\test\test.exe

how can I specify the the /clr option.

Continue reading...
 
Back
Top