Hi,
I'm looking for a way to compile visual studio c++ project in java. I know it's a bit strange to do it this way. but I'm doing a evolutionary algorithms. So Java is creating c++ code and compile it in Java not c++. I just need to automate it, so I don't have to copy the c++ code and paste it in .NET and click compile it.
So I'm looking for a way to execute series of command lines and display the result in eclipse console. Can I do that?
First I need to setup Visual Studio environment, so I need to run this batch first C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat and then change directory to the c++ project and compile the project by using "cl.exe" and then "link.exe". They need to be executed in a specific order.
Please, Thanks.