Add {Library} to project files
This allows more platform independent project files.
On windows this is {Application}/Libraries
and on mac/linux this is {Application}/lib
Another option is to let {Library}
represent Libraries
on windows and lib
on mac/linux.
I also propose to add an alias for {OS}
that expands to some unique operating system and platform identifier.
In this way you can OS agnostically encode this as well. It might be the case that a {Platform}
is also required (e.g. arm/x86)
The paths for cpm would then change from
Path: {Project}*cpm
Path: {Project}*cpm*Posix
Path: {Project}*Pm
Path: {Project}*Unix
Path: {Project}*Util
Path: {Project}*BatchBuild
Path: {Project}*Interfaces*LinkerInterface
Path: {Application}*lib*ArgEnv
Path: {Application}*lib*StdLib
Path: {Application}*lib*Directory
to something like:
Path: {Project}*cpm
Path: {Project}*cpm*{OS}
Path: {Project}*Pm
Path: {Project}*{OS}
Path: {Project}*Util
Path: {Project}*BatchBuild
Path: {Project}*Interfaces*LinkerInterface
Path: {Library}*ArgEnv
Path: {Library}*StdLib
Path: {Library}*Directory