IBM / ibmi-bob

A build system for creating IBM i-native objects using GNU Make.
https://ibm.github.io/ibmi-bob
Apache License 2.0
48 stars 21 forks source link

Organization of Bob Project #135

Closed beckhamrryyaann closed 2 years ago

beckhamrryyaann commented 2 years ago

I have an Accounting Application. It is logically separated into 3 distinct sub-applications.

  1. Accounts Receivable 2. Payables 3. General Ledger. I would like to have a root project called accounting. Then have subdirectories for each sub app? Can Bob handle this nesting of app structure? When I get to my sub app I then need to have my source compile to one library and my tables built in another using the ibmi.json config files to control this.

Example Project structure: accounting -> AR ---->qrpglesrc ------->ibm.json ---->qddlsrc ------->ibmi.json ->AP ---->qrpglesrc ---->qddlsrc etc.

edmundreinhardt commented 2 years ago

yes. Bob is very flexible, you can have your source in an arbitrary directory structure. You simply have a Rules.mk in every directory that has compilable source. They will all be gathered dynamically when you invoke makei.