Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Alternatively, you can build using Node.js and node-gyp (this creates a static l
npm run build:x64 # 64-bit library
npm run build:x86 # 32-bit library
npm run build:arm64 # ARM64 library
npm run build:all # Build all architectures
```

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

The output will be `MAPIStubLibrary.lib` in the `build/Release` directory.
The outputs will be in architecture-specific directories:

- `build/lib/x64/MAPIStubLibrary.lib` - 64-bit library
- `build/lib/ia32/MAPIStubLibrary.lib` - 32-bit library
- `build/lib/arm64/MAPIStubLibrary.lib` - ARM64 library

## Build Output

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"description": "MAPI Stub Library for 32 and 64 bit applications",
"scripts": {
"build": "node-gyp rebuild",
"build:x64": "node-gyp rebuild --arch=x64",
"build:x86": "node-gyp rebuild --arch=ia32",
"build:arm64": "node-gyp rebuild --arch=arm64",
"build:x64": "node-gyp configure --arch=x64 && node-gyp build --arch=x64",
"build:x86": "node-gyp configure --arch=ia32 && node-gyp build --arch=ia32",
"build:arm64": "node-gyp configure --arch=arm64 && node-gyp build --arch=arm64",
"build:all": "npm run build:x64 && npm run build:x86 && npm run build:arm64",
"clean": "node-gyp clean",
"clean:all": "node-gyp clean && rmdir /s /q build 2>nul || true"
},
Expand Down
Loading