ccompile 0.2.2
ccompile: ^0.2.2 copied to clipboard
Library for compiling C/C++ source files from Dart scripts. The main purpose of compiling native extensions from Dart source files. It is also possible to use this to compile any other small projects.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ccompileThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ccompile: ^0.2.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ccompile/ccompile.dart';