开发者

How to use MS Team Build with other compilers?

开发者 https://www.devze.com 2023-04-01 09:42 出处:网络
I\'ve been using Team Build 2010 successfully to automate builds where the source code is written in MS C#/C++.

I've been using Team Build 2010 successfully to automate builds where the source code is written in MS C#/C++.

Now I have to automate firmware c开发者_运维百科ode that is compiled with a compiler from TI. The TI project has a .pjt extension and I do have the tools (make like) to compile from a command prompt.

Do I have to create a MSBuild project for that?


Create a "makefile project" in Visual Studio, you can then set-up a custom build command (it does not need to be a makefile). You the use then use the TI command line build tool timake to build the project defined in the .pjt file. This will create a VC++ project file that builds the .pjt file. I am not that familiar with MSBuild, but it can also probably run timake directly.

If you want to use Visual Studio for development and benefit from its Intellisense features, you will also need to add the include paths list for the project to the VS project, and also any command line macros defined.

0

精彩评论

暂无评论...
验证码 换一张
取 消