Search code examples
c++boostdebianeclipse-cdttfsbuild

TFS Builds using Eclipse CDT from Debian Box


I would like to use TFS Build system from Debian OS, I develop using C++, my IDE is Eclipse CDT. I would like to know if using TFS Build System is possible, if so how? as a side note, My development heavily relies on Boost libraries and QT.


Solution

  • Yes and no. You cannot run TFS builds on Linux. However you can use TFS build to run ANT or Maven, which in turn can be used to build c++.

    The build will run on a TFS build agent, which will be a windows machine. Usually a different machine to the TFS server. This can be a VM, your TFS gurus should be able to set this up for you.

    To use ANT or Maven you need the TFS build extensions the link is for the TFS 2012 version, however there are extensions for older versions of TFS.

    Once you have a build server set up you can use ANT to build your c++ code or Maven.

    If I was going to attempt this, I would get the ANT build working on a windows box first, then plumb it in to TFS with the extensions.

    However, you might be better off using a more generic build engine such as Jenkins, running on Linux which connects to TFS to retrieve the code.