Commit 7f6f64d6 authored by Tim Branyen's avatar Tim Branyen

Updated the license date and binding to latest.

I took the latest binding and made it work with the existing to resolve
the build failure.
parent 35be88fd
Copyright (c) 2013 Tim Branyen
Copyright (c) 2014 Tim Branyen
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
......
{
'targets': [
{
'target_name': 'nodegit',
'sources': [
'src/base.cc',
'src/blob.cc',
'src/commit.cc',
'src/oid.cc',
'src/reference.cc',
'src/object.cc',
'src/repo.cc',
'src/index.cc',
'src/index_entry.cc',
'src/index_time.cc',
'src/tag.cc',
'src/revwalk.cc',
'src/signature.cc',
'src/time.cc',
'src/tree.cc',
'src/tree_builder.cc',
'src/tree_entry.cc',
'src/diff_find_options.cc',
'src/diff_options.cc',
'src/diff_list.cc',
'src/patch.cc',
'src/delta.cc',
'src/diff_file.cc',
'src/diff_range.cc',
'src/threads.cc',
'src/wrapper.cc',
'src/refdb.cc',
'src/odb_object.cc',
'src/odb.cc',
'src/submodule.cc',
'src/remote.cc',
'src/clone_options.cc',
'src/functions/copy.cc',
"targets": [
{
"target_name": "nodegit",
],
"sources": [
"src/base.cc",
"src/blob.cc",
"src/commit.cc",
"src/oid.cc",
"src/reference.cc",
"src/object.cc",
"src/repo.cc",
"src/index.cc",
"src/index_entry.cc",
"src/index_time.cc",
"src/tag.cc",
"src/revwalk.cc",
"src/signature.cc",
"src/time.cc",
"src/tree.cc",
"src/tree_builder.cc",
"src/tree_entry.cc",
"src/diff_find_options.cc",
"src/diff_options.cc",
"src/diff_list.cc",
"src/patch.cc",
"src/delta.cc",
"src/diff_file.cc",
"src/diff_range.cc",
"src/threads.cc",
"src/wrapper.cc",
"src/refdb.cc",
"src/odb_object.cc",
"src/odb.cc",
"src/submodule.cc",
"src/remote.cc",
"src/clone_options.cc",
"src/functions/copy.cc",
],
'include_dirs': [
'vendor/libv8-convert',
'vendor/libgit2/include',
"<!(node -e \"require('nan')\")"
],
"include_dirs": [
"vendor/libv8-convert",
"vendor/libgit2/include",
"<!(node -e \"require('nan')\")"
],
'libraries': [
'-L<!(pwd)/vendor/libgit2/build',
'-lgit2'
],
"cflags": [
"-Wall"
],
'cflags': [
'-Wall'
],
"ldflags": [
"-Wl,-rpath,\$$ORIGIN/../../vendor/libgit2/build"
],
'ldflags': [
'-Wl,-rpath,\$$ORIGIN/../../vendor/libgit2/build'
],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
"conditions": [
['OS=="win"', {
"link_settings": {
"libraries": [
"-lgit2.lib",
]
}
]
},
"configurations": {
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 0,
"Optimization": 3,
"FavorSizeOrSpeed": 1,
"InlineFunctionExpansion": 2,
"WholeProgramOptimization": "true",
"OmitFramePointers": "true",
"EnableFunctionLevelLinking": "true",
"EnableIntrinsicFunctions": "true",
"RuntimeTypeInfo": "false",
"ExceptionHandling": "0",
"GenerateDebugInformation": "true",
"AdditionalOptions": [
"/MP /EHsc"
]
},
"VCLibrarianTool": {
"AdditionalOptions": [
"/LTCG"
]
},
"VCLinkerTool": {
"LinkTimeCodeGeneration": 1,
"OptimizeReferences": 2,
"EnableCOMDATFolding": 2,
"LinkIncremental": 1,
"AdditionalLibraryDirectories": [
"../vendor/libgit2/build/debug"
]
}
}
}
}
}, { # Not Windows.
"libraries": [
"-L<!(pwd)/vendor/libgit2/build",
"-lgit2"
]
}],
['OS=="mac"', {
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
}
}]
]
}
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment