aboutsummaryrefslogtreecommitdiff
path: root/Project_Export.toml
blob: ba2c27d81ca11c069692a9f5c802f9621dc0b787 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# No Gamepads Export Configure
# This document details release file information for executing cargo export or cargo dev.

# Items defined in [release.root]
#   It will search starting from the project directory and copy to the specified location in the target directory.
[release.root]

# License files
license = { raw = "./", target = "./", files = [
    "LICENSE-MIT"
] }

# Powershell auto-completion scripts
powershell_complete = { raw = "./.cargo/resources/scripts/", target = "./bin/completeion", files = [
    "install_completion_powershell.ps1"
] }

# Headers
headers = { raw = "./core/bindings/lang/clang/headers/", target = "./lib", files = [
    "nogamepads_data.h",
] }

# Items defined in [release.deps]
#   It will search starting from the build directory and copy to the specified location in the target directory.
[release.deps]

# Windows executables
win_exes = { raw = "./", target = "./bin", files = [
    "padc.exe", "pad.exe"
] }

# Windows dynamic link libraries
dlls = { raw = "./", target = "./lib", files = [
    "nogamepads_c.dll",
    "nogamepads_c.dll.lib"
] }

[release.deploy_root]

# Headers
c_binding_example_headers = { raw = "./core/bindings/lang/clang/headers/", target = "./core/bindings/lang/clang/binding_example/include/", files = [
    "nogamepads_data.h",
] }

csharp_binding_headers = { raw = "./core/bindings/lang/clang/headers/", target = "./core/bindings/lang/csharp/NoGamepads_CharpBindings/NoGamepads_Bindings/Native/", files = [
    "nogamepads_data.h",
] }

[release.deploy_deps]

# Deps
c_binding_example_deps_win = { raw = "./", target = "./core/bindings/lang/clang/binding_example/libs/", files = [
    "nogamepads_c.dll",
    "nogamepads_c.dll.lib"
] }

csharp_binding_deps_win = { raw = "./", target = "./core/bindings/lang/csharp/NoGamepads_CharpBindings/NoGamepads_Bindings/Native/", files = [
    "nogamepads_c.dll",
] }