Skip to content

Commit 6cb92c7

Browse files
authored
Update README.md
1 parent 34edd5f commit 6cb92c7

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -76,34 +76,6 @@ please refer to `cmake/*.cmake` and `CMakeList.txt` files
7676
4. `cmake --build . --config Release`
7777
5. For Linux, you may need to put `quantlib.node` under `build/Release` manually,
7878

79-
## Building the native addon
80-
81-
#### Prerequisite
82-
83-
* CMake 2.8 or above, Visual C++ for windows, Xcode for Mac, GCC for Linux
84-
* Node.js according to [version matrix](#version-matrix)
85-
* [nan](https://github.com/nodejs/nan) ^2.2.0
86-
* [node-gyp](https://github.com/nodejs/node-gyp) ~3.0.3
87-
* QuantLib, QuantLibAddin, ObjectHandler source code according to [version matrix](#version-matrix), they need to be put in the same directory
88-
* `boost` - which is required to build QuantLib
89-
90-
#### Set environment variable
91-
92-
please refer to `cmake/*.cmake` and `CMakeList.txt` files
93-
94-
* `NAN_DIR` - location of `nan`
95-
* `NODE_GYP_DIR` - location of `.node-gyp` generated by `node-gyp` tool, which is at `~/.node-gyp`, if it doesn't exist, follow the instruction in [node-gyp](https://github.com/nodejs/node-gyp), and build a helloword program, it will generate the `.node-gyp` directory
96-
* `QUANTLIB_ROOT` - location of QuantLib, QuantLibAddin, ObjectHandler source code
97-
* `BOOST_ROOT` - location `boost` installed
98-
99-
#### Use cmake to build the addon
100-
101-
1. Build QuantLib and QuantLibAddin, please check `CMakeList.txt` for library name, and make sure generated library names are the same in `CMakeList.txt`
102-
2. from `quantlibnode` root directory `cd build`
103-
3. `cmake ..` for Windows and Linux, `cmake -G Xcode ..` for Mac OS X
104-
4. `cmake --build . --config Release`
105-
5. For Linux, you may need to put `quantlib.node` under `build/Release` manually,
106-
10779
## Example
10880

10981
> This is from QuantLibXL - StandaloneExamples - Math - RankReduction.xlsx - FirstCorrMatrix

0 commit comments

Comments
 (0)