Skip to content

Commit 225ce9b

Browse files
olszomalmtrojnar
authored andcommitted
update building osslsigncode for Unix-like operating systems
1 parent a5011a0 commit 225ce9b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,15 @@ You may need to use `cmake3` instead of `cmake` to complete the following steps
5252
* Navigate to the build directory and run CMake to configure the osslsigncode project
5353
and generate a native build system:
5454
```
55-
mkdir build && cd build && cmake ..
55+
mkdir build && cd build && cmake -S ..
5656
```
5757
with specific compile options:
5858
```
59-
-Denable-strict=ON
60-
-Denable-pedantic=ON
59+
-DCMAKE_BUILD_TYPE=Debug
60+
-DCMAKE_C_COMPILER=clang
61+
-DCMAKE_PREFIX_PATH=[openssl directory];[curl directory]
62+
-DCMAKE_INSTALL_PREFIX=[installation directory]
63+
6164
```
6265
* Then call that build system to actually compile/link the osslsigncode project (alias `make`):
6366
```
@@ -69,7 +72,7 @@ You may need to use `cmake3` instead of `cmake` to complete the following steps
6972
```
7073
* Make install:
7174
```
72-
sudo cmake --install . --prefix "/home/myuser/installdir"
75+
sudo cmake --install .
7376
```
7477
* Make tarball (simulate autotools' `make dist`):
7578
```

0 commit comments

Comments
 (0)