"Module only - only builds as part of application" error whe Topic is solved

If you have a simple question and just want an answer.
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am

"Module only - only builds as part of application" error whe

Post by infiniteimprobability »

My project is based on XMOS USB audio and has an application project along with several modules:

app_usb_aud_xk_u8_2c

module_usb_audio

module_spdif_tx

...

Whenever I am not editing files from app_usb_aud_xk_u8_2c and I press "build", eclipse tries to build the module being edited with following error:

**** Build of configuration Default for project module_usb_audio ****

xmake -f .makefile all 

** Module only - only builds as part of application **

This is annoying as I always want to build the app, which depends on the modules anyhow (any changes there will be built too)...but I have to click on the app project twice before I can do it. 

Is there away around this?



View Solution
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

There is a feature in xTIMEcomposer version 13.1.0 onwards - select your main project (app_...), then righclick and select "Set as current project".

Your app will be highlighted in bold.

From now on, build will always build the project highlighted in bold, regardless of which source file is being edited.

Goodbye annoyance!!