mix compile.c3nif (C3nif v0.2.0)
View SourceCompiles C3 NIF modules.
This task is automatically run before compilation and tests. It performs two operations:
- Compiles the c3nif.c3l runtime library (when in development)
- Compiles all NIF modules that use C3nif
Incremental Compilation
The task tracks source file modifications and only recompiles when:
- The C3 source code has changed
- Any external source files (
:c3_sources) have changed - The output library doesn't exist