Skip to content

Commit 657a628

Browse files
Merge pull request #128 from microsoft/u/sgriffin/docs
U/sgriffin/docs
2 parents de173c6 + 3f44e3c commit 657a628

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/Building.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Alternatively, you can build using Node.js and node-gyp (this creates a static l
6161
npm run build:x64 # 64-bit library
6262
npm run build:x86 # 32-bit library
6363
npm run build:arm64 # ARM64 library
64+
npm run build:all # Build all architectures
6465
```
6566

6667
**Clean build artifacts:**
@@ -69,7 +70,11 @@ Alternatively, you can build using Node.js and node-gyp (this creates a static l
6970
npm run clean
7071
```
7172

72-
The output will be `MAPIStubLibrary.lib` in the `build/Release` directory.
73+
The outputs will be in architecture-specific directories:
74+
75+
- `build/lib/x64/MAPIStubLibrary.lib` - 64-bit library
76+
- `build/lib/ia32/MAPIStubLibrary.lib` - 32-bit library
77+
- `build/lib/arm64/MAPIStubLibrary.lib` - ARM64 library
7378

7479
## Build Output
7580

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"description": "MAPI Stub Library for 32 and 64 bit applications",
55
"scripts": {
66
"build": "node-gyp rebuild",
7-
"build:x64": "node-gyp rebuild --arch=x64",
8-
"build:x86": "node-gyp rebuild --arch=ia32",
9-
"build:arm64": "node-gyp rebuild --arch=arm64",
7+
"build:x64": "node-gyp configure --arch=x64 && node-gyp build --arch=x64",
8+
"build:x86": "node-gyp configure --arch=ia32 && node-gyp build --arch=ia32",
9+
"build:arm64": "node-gyp configure --arch=arm64 && node-gyp build --arch=arm64",
10+
"build:all": "npm run build:x64 && npm run build:x86 && npm run build:arm64",
1011
"clean": "node-gyp clean",
1112
"clean:all": "node-gyp clean && rmdir /s /q build 2>nul || true"
1213
},

0 commit comments

Comments
 (0)