Msbuild example for Clarion

I use Multi-Proj to generate programs that run TPS, SQL, ODBC, etc., from a single code base. The TPS sln gets generated and works. I just need to Edit Dependencies. The SQL sln does not get generated and needs to be build manually. But it does build a cwproj for each app. There are 200+ apps in this thing, and it’s painful to build and Edit Dependencies. If it goes wrong, the IDE doesn’t tell you what’s wrong, it just pukes.
If I call MSBuild, it returns errors. Then it’s back to trying to build the SQL sln manually.
Claude showed me how to get MSBuild to compile the generated ProgNameMSQ.cwprojs in a batch, and I think that’s how I’ll proceed.

  1. dir c:\sourcedir *msq.cwproj >mycwprojs.txt to build a file from the directory.
  2. edit the mycwprojs.txt file to remove unwanted cwprojs, and insert the compile commands.
  3. fire it up and see what happens. then see what happens when the sun comes up…
    Thanks!
    Any suggestions for improvement or modification will be welcomed.