Announcement

Collapse
No announcement yet.

Breaking up project sources

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Breaking up project sources

    Presently, I only have PBCC. I never much cared for GUI programming, though I have done some in Python.

    I have a project with a local law firm. A custom application is required because they want it to meet very exact specifications. I started with a monolithic mr.bas giving mr.exe. Both are called from Windows Scheduler and have no UI. Today it is 7 revisions later and I have monolithic mr.bas and ar.bas. They share enough code that I really need to have a third file for each to $INCLUDE.

    If I were doing this in C++, I would have at least config.h, mr.cpp, ar.cpp, and common.cpp. Then I would make a Makefile to compile and link ar and mr.

    Now there is talk of converting this to a service or (hopefully not) two services plus a GUI front-end. So we are still talking >= 2 executables.

    PBWin8 can do the job, of course. I am just curious about its project management features. Can multiple .exe's be built at once? Is there a Make or other facility so you compile only what needs to be compiled and not recompile what has not changed?
    Erich Schulman (KT4VOL/KTN4CA)
    Go Big Orange

  • #2
    I know some of the third-party development tools (which I do not use) work at a 'project' level and no doubt can 'compile all'; but PB/Windows has a 'command-line compile' mode which you can set up to run from a *.CMD file if you don't want to use one of those.

    As far as not recompiling what does not 'need' to be recompiled....

    A. It doesn't take that long to compile.
    B. If your common functions were in Dynamic Link Libraries, you would not need to recompile them just because something in another module changed. But as deep as you are into this project with only two modules (mr and ar), I'd guess at this point restructuring might not be worth the effort.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      There's nothing to stop you from writing an application which calls the compiler and/or the IDE.

      Comment

      Working...
      X