I have a visual c++ project that outputs a library and I would like to build it on Linux using xmake. I can build it in monodevelop but I want to be able to build it from a command line.
If I try building the project using "xbuild" call then I get the following error:
....ItemMinerLibMono.cproj: error : Target named 'Build' not found in the project.
I understand from the documentation that I need to add a Target named "Build" in the csproj file but I don't know how to do that. I tried importing the Microsoft.Common.targets file like this:
<Import Project="$(MSBuildBinPath)\Microsoft.Common.targets" />
but then I get the error:
: error : Target 'CreateManifestResourceNames', a dependency of target 'PrepareResources', not found.
Does anybody have any idea how to successfully compile a c++ project from a command line?
Thanks, Gregor