mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
66 lines
1.3 KiB
Python
66 lines
1.3 KiB
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "MountUtils",
|
|
"include_dirs" : [
|
|
"<!(node -e \"require('nan')\")"
|
|
],
|
|
"sources": [
|
|
"src/mountutils.cpp",
|
|
"src/worker-unmount.cpp",
|
|
"src/worker-eject.cpp"
|
|
],
|
|
"msvs_settings": {
|
|
"VCLinkerTool": {
|
|
"SetChecksum": "true"
|
|
},
|
|
"VCCLCompilerTool": {
|
|
"ExceptionHandling": 1,
|
|
"AdditionalOptions": [
|
|
"/EHsc"
|
|
]
|
|
}
|
|
},
|
|
'conditions': [
|
|
|
|
[ 'OS=="linux"', {
|
|
"sources": [
|
|
"src/linux/functions.cpp"
|
|
],
|
|
} ],
|
|
|
|
[ 'OS=="win"', {
|
|
"sources": [
|
|
"src/windows/functions.cpp"
|
|
],
|
|
"libraries": [
|
|
"-lKernel32.lib",
|
|
"-lSetupAPI.lib",
|
|
"-lCfgmgr32.lib"
|
|
],
|
|
} ],
|
|
|
|
[ 'OS=="mac"', {
|
|
"xcode_settings": {
|
|
"OTHER_CPLUSPLUSFLAGS": [
|
|
"-stdlib=libc++"
|
|
],
|
|
"OTHER_LDFLAGS": [
|
|
"-stdlib=libc++"
|
|
]
|
|
},
|
|
"sources": [
|
|
"src/darwin/functions.cpp"
|
|
],
|
|
"link_settings": {
|
|
"libraries": [
|
|
"DiskArbitration.framework",
|
|
"Foundation.framework",
|
|
],
|
|
},
|
|
} ],
|
|
|
|
],
|
|
}
|
|
],
|
|
}
|