Thanks to everyone for their responses and help. While I cannot easily correct the circular dependancies (although would like to over time) I used the method outlined by @CarlBarnes in his post Msbuild example for Clarion which works really well.
I now have a multi-stage TeamCity build process which:
- Gets the APP files from GitHub
- Calls the ClarionCL.exe to generate all the .CLW files etc
- Call the MSBuild process to convert the .EXP files to .LIB files
- Calls MSBuild to compile the solution
- Currently zips up the solution but will call the installer process to create the installer.
Thanks for all your help