genericptr / fpm Goto Github PK
View Code? Open in Web Editor NEWDeclarative Free Pascal Compiler build system using TOML (for people who hate Bash)
Declarative Free Pascal Compiler build system using TOML (for people who hate Bash)
Symbols added with -d
don't force compile the project when they change. Not sure how to handle this but removing the output directory may be needed since FPC doesn't do this itself.
for example the path ${FPC_ROOT}/${LATEST}/bin/${ARCH}-win32/fpc.exe
should be captured somehow easily.
[target.universal]
# lipo -create <pathToIntel.a> <pathToArm.a> -output <pathToUniversal.a>
compiler = [
"/usr/local/lib/fpc/${LATEST}/ppca64",
"/usr/local/lib/fpc/${LATEST}/ppcx64"
]
For example using the windows target as the parent for console-tests should work but it isn't.
[target.windows]
parent = "windows"
compiler = "${FPC_ROOT}/${LATEST}/bin/${ARCH}-win32/fpc.exe"
libraryPaths = ['./lib/windows']
unitPaths = ["${UNITS_BASE}/opengl",
"${UNITS_BASE}/fcl-base",
"${UNITS_BASE}/fcl-xml",
"${UNITS_BASE}/fcl-image",
"${UNITS_BASE}/rtl-objpas"]
options = ["-Mobjfpc", "-Sm", "-Sc", "-Sg"]
[target.darwin]
compiler = "/usr/local/lib/fpc/${LATEST}/${PPC}"
frameworkPaths = ["./lib/macos"]
libraryPaths = ['/usr/local/lib']
[target.console-tests]
parent = "windows"
It's possible to make a target name which conflicts with the built-in targets like "darwin" or "windows" so we need to prevent this.
Show all macros also as a reference
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.