ソースを参照

Update README

Specify build command.
master
コミット
518f5a9afa
1個のファイルの変更15行の追加3行の削除
  1. +15
    -3
      README.md

+ 15
- 3
README.md ファイルの表示

@@ -31,7 +31,7 @@ The following are required for building on all platforms:

5. Generate the CMake cache.

```shell
```batch
cmake^
-DCMAKE_SIZEOF_VOID_P=8^
"-DCMAKE_MT=%CMAKE_MT%"^
@@ -48,6 +48,12 @@ The following are required for building on all platforms:

6. Build the specific executables you want to build, which are defined in `CMakeLists.txt`.

```batch
cmake^
--build "./build/%BUILD_TYPE%"^
-t "%EXECUTABLE%"
```

### macOS/*NIX

1. Ensure additional tools are present in the system:
@@ -64,15 +70,21 @@ The following are required for building on all platforms:
```shell
cmake \
-DCMAKE_SIZEOF_VOID_P=8 \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
"-DCMAKE_BUILD_TYPE=$BUILD_TYPE" \
-DCMAKE_MAKE_PROGRAM=ninja \
-DCMAKE_C_COMPILER=cc \
-DCMAKE_C_FLAGS=-m64 \
-G Ninja \
-S . \
-B ./build/$BUILD_TYPE
-B "./build/$BUILD_TYPE"
```

> **Important:** Create the directories under `/build` per each `BUILD_TYPE` you are generating.
5. Build the specific executables you want to build, which are defined in `CMakeLists.txt`.

```shell
cmake \
--build "./build/$BUILD_TYPE" \
-t "$EXECUTABLE"
```

読み込み中…
キャンセル
保存