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.
95 lines
2.7 KiB
95 lines
2.7 KiB
{
|
|
"variables": {
|
|
"os_linux_compiler%": "gcc",
|
|
"use_robust%": "false",
|
|
"use_data_v1%": "false",
|
|
"enable_fast_api_calls%": "false",
|
|
"enable_pointer_compression%": "false",
|
|
"target%": "",
|
|
"build_v8_with_gn": "false"
|
|
},
|
|
"targets": [
|
|
{
|
|
"target_name": "lmdb-store",
|
|
"win_delay_load_hook": "false",
|
|
"sources": [
|
|
"dependencies/lmdb/libraries/liblmdb/midl.c",
|
|
"dependencies/lmdb/libraries/liblmdb/chacha8.c",
|
|
"dependencies/lz4/lib/lz4.h",
|
|
"dependencies/lz4/lib/lz4.c",
|
|
"src/node-lmdb.cpp",
|
|
"src/env.cpp",
|
|
"src/compression.cpp",
|
|
"src/ordered-binary.cpp",
|
|
"src/misc.cpp",
|
|
"src/txn.cpp",
|
|
"src/dbi.cpp",
|
|
"src/cursor.cpp",
|
|
"src/windows.c"
|
|
],
|
|
"include_dirs": [
|
|
"<!(node -e \"require('nan')\")",
|
|
"dependencies/lz4/lib"
|
|
],
|
|
"defines": ["MDB_MAXKEYSIZE=1978"],
|
|
"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",
|
|
],
|
|
"conditions": [
|
|
["gcc_version>=7", {
|
|
"cflags": [
|
|
"-Wimplicit-fallthrough=2",
|
|
],
|
|
}],
|
|
],
|
|
"ldflags": [
|
|
"-fPIC",
|
|
"-fvisibility=hidden"
|
|
],
|
|
"cflags": [
|
|
"-fPIC",
|
|
"-fvisibility=hidden",
|
|
"-O3"
|
|
],
|
|
}],
|
|
["OS=='win'", {
|
|
"libraries": ["ntdll.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"],
|
|
}],
|
|
["enable_fast_api_calls=='true'", {
|
|
"defines": ["ENABLE_FAST_API=1"],
|
|
}],
|
|
["use_robust=='true'", {
|
|
"defines": ["MDB_USE_ROBUST"],
|
|
}],
|
|
],
|
|
}
|
|
]
|
|
}
|
|
|