Created
December 24, 2015 20:44
-
-
Save zmanian/18afed59df9dcfe935c5 to your computer and use it in GitHub Desktop.
Debug for neon cli for eddyb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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