chore: update cli_windows project
This commit is contained in:
@@ -11,6 +11,8 @@ void main(List<String> args) async {
|
|||||||
..onRecord.listen((record) => print(
|
..onRecord.listen((record) => print(
|
||||||
record.message + "\n"));
|
record.message + "\n"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
await build(args, (config, output) async {
|
await build(args, (config, output) async {
|
||||||
final cbuilder = CBuilder.library(
|
final cbuilder = CBuilder.library(
|
||||||
name: "thermion_window",
|
name: "thermion_window",
|
||||||
@@ -23,6 +25,8 @@ void main(List<String> args) async {
|
|||||||
dartBuildFiles: ['hook/build.dart'],
|
dartBuildFiles: ['hook/build.dart'],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
await cbuilder.run(
|
await cbuilder.run(
|
||||||
buildConfig: config,
|
buildConfig: config,
|
||||||
buildOutput: output,
|
buildOutput: output,
|
||||||
|
|||||||
@@ -10,9 +10,29 @@ environment:
|
|||||||
dependencies:
|
dependencies:
|
||||||
args: ^2.5.0
|
args: ^2.5.0
|
||||||
thermion_dart:
|
thermion_dart:
|
||||||
path: F:\Projects\thermion\thermion_dart
|
path: ../../../thermion_dart
|
||||||
ffi: ^2.1.3
|
ffi: ^2.1.3
|
||||||
|
vector_math: ^2.1.4
|
||||||
|
native_toolchain_c: ^0.4.2
|
||||||
|
native_assets_cli: ^0.6.1
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
lints: ^5.0.0
|
lints: ^5.0.0
|
||||||
test: ^1.24.0
|
test: ^1.24.0
|
||||||
|
ffigen: ^13.0.0
|
||||||
|
ffigen:
|
||||||
|
output: 'lib/thermion_window.g.dart'
|
||||||
|
headers:
|
||||||
|
entry-points:
|
||||||
|
- 'native/thermion_window.h'
|
||||||
|
include-directives:
|
||||||
|
- 'native/thermion_window.h'
|
||||||
|
ffi-native:
|
||||||
|
assetId: package:thermion_window/thermion_window.dart
|
||||||
|
ignore-source-errors: true
|
||||||
|
functions:
|
||||||
|
leaf:
|
||||||
|
include:
|
||||||
|
- '.*'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user