mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Update README.md to reflect it's possible to generate Ninja build scripts also
This commit is contained in:
parent
befdf9c789
commit
6b3dd245f6
12
README.md
12
README.md
|
@ -423,16 +423,24 @@ possible.
|
||||||
Depending on the platform, some additional tools are required for compiling uvg266 with CMake.
|
Depending on the platform, some additional tools are required for compiling uvg266 with CMake.
|
||||||
For Ubuntu, the required packages are `build-essential cmake`.
|
For Ubuntu, the required packages are `build-essential cmake`.
|
||||||
|
|
||||||
Run the following commands to compile and install uvg266.
|
Run the following commands to generate the build scripts
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|
||||||
|
Then depending on your generator settings you might want to use Make to compile and install uvg266, force with `-G 'Unix Makefiles'` in CMake command
|
||||||
|
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
or Ninja, force with `-G Ninja` in the CMake command
|
||||||
|
|
||||||
|
ninja
|
||||||
|
sudo ninja install
|
||||||
|
|
||||||
Visual Studio natively supports opening the `CMakeLists.txt` of the CMake build package has been installed.
|
Visual Studio natively supports opening the `CMakeLists.txt` of the CMake build package has been installed.
|
||||||
Otherwise CMake-CLI can be used to generate the Visual Studio project files.
|
Otherwise CMake-CLI can be used to generate the Visual Studio project files.
|
||||||
**When building shared library with visual studio the tests will fail to link, the main binary will still work**
|
**When building shared library with visual studio/MSys2/MinGW the tests will fail to link, so they are disabled**
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
This project includes a [Dockerfile](./Dockerfile), which enables building for Docker.
|
This project includes a [Dockerfile](./Dockerfile), which enables building for Docker.
|
||||||
|
|
Loading…
Reference in a new issue