Skip to content

Commit cb9653d

Browse files
committed
Update metadata.
1 parent 8920f97 commit cb9653d

1 file changed

Lines changed: 9 additions & 22 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,17 @@ Portable C++ Plugin Management Library.
1616
- Windows, Linux or macOS. MSVC, clang-cl, GCC and Clang are all built and tested.
1717
- An installed `stdcorelib` package.
1818

19-
## Building
20-
21-
Configure and build the library with CMake. Set `CMAKE_PREFIX_PATH` when CMake cannot find the `stdcorelib` installation automatically.
22-
23-
```sh
24-
cmake -S . -B build -DCMAKE_PREFIX_PATH=/path/to/stdcorelib
25-
cmake --build build
26-
```
27-
28-
The principal build options are:
29-
30-
- `STDC_PLUGIN_BUILD_STATIC` builds a static library.
31-
- `STDC_PLUGIN_BUILD_SHARED` builds a shared library.
32-
- `STDC_PLUGIN_BUILD_TESTS` builds the test suite.
33-
- `STDC_PLUGIN_ENABLE_EXCEPTIONS` controls exception support.
34-
- `STDC_PLUGIN_INSTALL` generates installation rules.
35-
36-
To build and run the tests:
19+
## Build & Install
3720

3821
```sh
39-
cmake -S . -B build -DSTDC_PLUGIN_BUILD_TESTS=ON
40-
cmake --build build
41-
ctest --test-dir build --output-on-failure
22+
git clone https://github.com/stdware/stdcorelib.plugin.git
23+
cd stdcorelib.plugin
24+
cmake -B build -S . \
25+
-Dstdcorelib_DIR=/path/to/stdcorelib \
26+
-DCMAKE_BUILD_TYPE=Release \
27+
-DCMAKE_INSTALL_PREFIX=/path/to/install
28+
cmake --build build --config Release
29+
cmake --install build --config Release
4230
```
4331

4432
## Integration
@@ -47,7 +35,6 @@ Install the library, make its installation prefix discoverable by CMake, and con
4735

4836
```cmake
4937
find_package(stdcorelib-plugin CONFIG REQUIRED)
50-
5138
target_link_libraries(myapp PRIVATE stdcorelib::plugin)
5239
```
5340

0 commit comments

Comments
 (0)