File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -110,16 +110,26 @@ Add `-DNFD_BUILD_TESTS=ON` to build sample programs and `-DNFD_INSTALL=ON` to en
110110## Standalone Library
111111If you want to build the standalone static library,
112112execute the following commands (starting from the project root directory):
113+
114+ For GCC and Clang:
113115```
114116mkdir build
115117cd build
116118cmake -DCMAKE_BUILD_TYPE=Release ..
117119cmake --build .
118120```
119121
122+ For MSVC:
123+ ```
124+ mkdir build
125+ cd build
126+ cmake ..
127+ cmake --build . --config Release
128+ ```
129+
120130The above commands will make a `build` directory,
121131and build the project (in release mode) there.
122- If you are developing NFDe, you may want to do `-DCMAKE_BUILD_TYPE=Debug`
132+ If you are developing NFDe, you may want to do `-DCMAKE_BUILD_TYPE=Debug`/`--config Debug`
123133to build a debug version of the library instead.
124134
125135When building as a standalone library, sample programs are built and the install target is enabled by default.
You can’t perform that action at this time.
0 commit comments