Skip to content

Add ProGen PowerShell script #4248

@pavledragisic

Description

@pavledragisic

Create a PowerShell script named progen.ps1 that automates the execution of ProGen for all dependencies listed in the components file.
Additionally, this script should provide the flexibility to generate one or multiple user-defined dependencies by accepting command-line arguments.

Generating VS Projects Using ProGen

Script should:

  • provide -components argument
    • specifies a list of components for which to regenerate the projects
    • this option is the opposite and mutually exclusive with -omit (finding both on the command line should be error)
    • this argument should also be added to the buildwin.ps1
      Write-Host "Poco Base: $poco_base"
  • provide -build (default true) optional argument to internally build static_mt Foundation, XML, JSON, Util and Progen
  • add special cases handling:
    • Data/testsuite/DataTest
      this one is one level deeper than the normal project/testuite hierarchy, it should be added as a special case in the script logic (ie. adding it to the components config file would probably work, but that's not the way to do it)
  • generate projects as specified (progen can run without /tool argument specified, in which case it generates all suported versions)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions