Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
2.9 KiB
104 lines
2.9 KiB
2 years ago
|
{
|
||
|
"variables": {
|
||
|
"os_linux_compiler%": "gcc",
|
||
|
"use_robust%": "false",
|
||
|
"use_data_v1%": "false",
|
||
|
"enable_pointer_compression%": "false",
|
||
|
"target%": "",
|
||
|
"build_v8_with_gn": "false",
|
||
|
"runtime%": "node"
|
||
|
},
|
||
|
"conditions": [
|
||
|
['OS=="win"', {
|
||
|
"variables": {
|
||
|
"enable_fast_api_calls%": "<!(echo %ENABLE_FAST_API_CALLS%)",
|
||
|
}
|
||
|
}],
|
||
|
['OS!="win"', {
|
||
|
"variables": {
|
||
|
"enable_fast_api_calls%": "<!(echo $ENABLE_FAST_API_CALLS)",
|
||
|
}
|
||
|
}]
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"target_name": "lmdb",
|
||
|
"win_delay_load_hook": "false",
|
||
|
"sources": [
|
||
|
"src/lmdb-js.cpp",
|
||
|
"dependencies/lmdb/libraries/liblmdb/midl.c",
|
||
|
"dependencies/lmdb/libraries/liblmdb/chacha8.c",
|
||
|
"dependencies/lz4/lib/lz4.h",
|
||
|
"dependencies/lz4/lib/lz4.c",
|
||
|
"src/writer.cpp",
|
||
|
"src/env.cpp",
|
||
|
"src/compression.cpp",
|
||
|
"src/ordered-binary.cpp",
|
||
|
"src/misc.cpp",
|
||
|
"src/txn.cpp",
|
||
|
"src/dbi.cpp",
|
||
|
"src/cursor.cpp"
|
||
|
],
|
||
|
"include_dirs": [
|
||
|
"<!(node -e \"require('nan')\")",
|
||
|
"dependencies/lz4/lib"
|
||
|
],
|
||
|
"defines": ["MDB_MAXKEYSIZE=0"],
|
||
|
"conditions": [
|
||
|
["OS=='linux'", {
|
||
|
"variables": {
|
||
|
"gcc_version" : "<!(<(os_linux_compiler) -dumpversion | cut -d '.' -f 1)",
|
||
|
},
|
||
|
"cflags_cc": [
|
||
|
"-fPIC",
|
||
|
"-Wno-strict-aliasing",
|
||
|
"-Wno-unused-result",
|
||
|
"-Wno-cast-function-type",
|
||
|
"-fvisibility=hidden",
|
||
|
"-fvisibility-inlines-hidden",
|
||
|
],
|
||
|
"ldflags": [
|
||
|
"-fPIC",
|
||
|
"-fvisibility=hidden"
|
||
|
],
|
||
|
"cflags": [
|
||
|
"-fPIC",
|
||
|
"-fvisibility=hidden",
|
||
|
"-O3"
|
||
|
],
|
||
|
}],
|
||
|
["OS=='win'", {
|
||
|
"libraries": ["ntdll.lib", "synchronization.lib"]
|
||
|
}],
|
||
|
["use_data_v1=='true'", {
|
||
|
"sources": [
|
||
|
"dependencies/lmdb-data-v1/libraries/liblmdb/mdb.c"
|
||
|
],
|
||
|
"include_dirs": [
|
||
|
"dependencies/lmdb-data-v1/libraries/liblmdb",
|
||
|
],
|
||
|
}, {
|
||
|
"sources": [
|
||
|
"dependencies/lmdb/libraries/liblmdb/mdb.c"
|
||
|
],
|
||
|
"include_dirs": [
|
||
|
"dependencies/lmdb/libraries/liblmdb",
|
||
|
],
|
||
|
}],
|
||
|
["enable_pointer_compression=='true'", {
|
||
|
"defines": ["V8_COMPRESS_POINTERS", "V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE"],
|
||
|
}],
|
||
|
['runtime=="electron"', {
|
||
|
"defines": ["NODE_RUNTIME_ELECTRON=1"]
|
||
|
}],
|
||
|
["enable_fast_api_calls=='true'", {
|
||
|
"defines": ["ENABLE_FAST_API=1"],
|
||
|
}],
|
||
|
["use_robust=='true'", {
|
||
|
"defines": ["MDB_USE_ROBUST"],
|
||
|
}],
|
||
|
],
|
||
|
}
|
||
|
]
|
||
|
}
|