首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> Symbian英文资料 >> Tools SDK >> 正文
Managing Subprojects with Codewarrior
作者:佚名    文章来源:不详    更新时间:2006-5-7 11:22:32

Metrowerks/Nokia Codewarrior is a powerful IDE for mobile application development but is sometimes a little bit tricky to setup. It took me two year to discover that the environment was able to handle dependency between projects....

Step 1: Drag and drop the subproject .mcp files in your project

Let’s take the example of one of our current project. This one has three different components (ok, it has a little bit more, but three is enough to show subproject management):
  ImClientS60 is the Client UI for the Series 60 target
  ImClEngine is the engine DLL
  ImServer is a server running in background

As ImClientS60 uses services from the two other components, I want that ImClEngine and ImServer to be automatically recompiled when I compile the UI. Here is how it can be done:

  Using the windows file explorer, locate where the subproject .mcp files are located. Depending on your IDE configuration, this will be in the directory of the corresponding MMP file or under the Epoc32/Build/ directory.

  Drag and drop each mcp file in the project window of your master project.

  Move to the Target tab of the master project window

  Expand the target and mcp label

  click on the red target icon to select which target to compile for each subproject. A small black arrow should be added on each target you add.

Step 2: In the target tab, click the you want to build automatically

That’s it. You can now compile ImClientS60 and this will automatically update the ImClEngine and ImServer component if needed.

相关文章:
How to reset the alternate makmake entry in Codewarrior
Integrating LeaveScan into Codewarrior 3.x
Carbide.vs - Disabling the MMP/PKG File update feature
Codewarrior: how to avoid the "Too Many Include Paths" error when using the UIQ 2.1 SDK
How To Freeze New Exports From Dll
Speed-up your builds with concurrent compilation
Running and Debugging Console Applications with Borland C++BuilderX
Getting Started with Metrowerks Codewarrior
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号