mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
63 lines
1.3 KiB
Text
63 lines
1.3 KiB
Text
|
{
|
||
|
"targets": [
|
||
|
{
|
||
|
"target_name": "drivelist",
|
||
|
"include_dirs" : [
|
||
|
"<!(node -e \"require('nan')\")",
|
||
|
"."
|
||
|
],
|
||
|
"sources": [
|
||
|
"src/drivelist.cpp",
|
||
|
"src/device-descriptor.cpp",
|
||
|
],
|
||
|
"msvs_settings": {
|
||
|
"VCLinkerTool": {
|
||
|
"SetChecksum": "true"
|
||
|
},
|
||
|
"VCCLCompilerTool": {
|
||
|
"ExceptionHandling": 1,
|
||
|
"AdditionalOptions": [
|
||
|
"/EHsc"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"conditions": [
|
||
|
[ 'OS=="mac"', {
|
||
|
"xcode_settings": {
|
||
|
"OTHER_CPLUSPLUSFLAGS": [
|
||
|
"-stdlib=libc++"
|
||
|
],
|
||
|
"OTHER_LDFLAGS": [
|
||
|
"-stdlib=libc++"
|
||
|
]
|
||
|
},
|
||
|
"sources": [
|
||
|
"src/darwin/list.mm",
|
||
|
"src/darwin/REDiskList.m"
|
||
|
],
|
||
|
"link_settings": {
|
||
|
"libraries": [
|
||
|
"-framework Carbon,DiskArbitration"
|
||
|
]
|
||
|
}
|
||
|
}],
|
||
|
[ 'OS=="win"', {
|
||
|
"sources": [
|
||
|
"src/windows/list.cpp"
|
||
|
],
|
||
|
"libraries": [
|
||
|
"-lKernel32.lib",
|
||
|
"-lShell32.lib",
|
||
|
"-lSetupAPI.lib"
|
||
|
]
|
||
|
}],
|
||
|
[ 'OS=="linux"', {
|
||
|
"sources": [
|
||
|
"src/linux/list.cpp"
|
||
|
]
|
||
|
}]
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|