Skip to content

Instantly share code, notes, and snippets.

@zmanian
Created December 24, 2015 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmanian/18afed59df9dcfe935c5 to your computer and use it in GitHub Desktop.
Save zmanian/18afed59df9dcfe935c5 to your computer and use it in GitHub Desktop.
Debug for neon cli for eddyb
# THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
{
"target_defaults": {
"default_configuration": "Release"
},
"targets": [{
"target_name": "bitcoin_poc",
"variables": {
"rust_inputs": ["src/lib.rs"],
"static_lib": "target/release/<(STATIC_LIB_PREFIX)bitcoin_poc<(STATIC_LIB_SUFFIX)",
"shared_lib": "target/release/<(SHARED_LIB_PREFIX)bitcoin_poc<(SHARED_LIB_SUFFIX)"
},
"sources": ["<(INTERMEDIATE_DIR)/binding.cc"],
"include_dirs": ["<!(neon include-path)"],
"libraries": ["../<(shared_lib)"],
"actions": [{
"action_name": "cargo",
"inputs": ["<@(rust_inputs)"],
"outputs": ["../<(static_lib)"],
"action": ["cargo", "rustc", "--release", "--", "--crate-type", "staticlib"]
}, {
"action_name": "shared_lib",
"inputs": ["<(static_lib)"],
"outputs": ["../<(shared_lib)"],
# FIXME: OSX-specific
"action": ["gcc", "-dynamiclib", "-Wl,-undefined,dynamic_lookup", "-Wl,-force_load,<(static_lib)", "-o", "<(shared_lib)"]
}, {
"action_name": "generate",
"inputs": [],
"outputs": ["<(INTERMEDIATE_DIR)/binding.cc"],
"action": ["neon", "generate", "<(INTERMEDIATE_DIR)/binding.cc"]
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment