This changes a few occurrences of "if using CMake" to the more correct "if the port uses CMake"
This commit is contained in:
parent
42a7c7af5f
commit
0847a2cda0
@ -122,7 +122,7 @@ do_configure()
|
|||||||
The first two flags `--host=$LUNA_ARCH-luna --prefix=/usr` are required if using a standard configure script, to indicate that we're cross-compiling (compiling the program for another system).
|
The first two flags `--host=$LUNA_ARCH-luna --prefix=/usr` are required if using a standard configure script, to indicate that we're cross-compiling (compiling the program for another system).
|
||||||
|
|
||||||
Alternatively, you can simply set `use_default_configure=true` without a `do_configure` function, which will simply run the configure script with these two flags, if you don't need anything else.
|
Alternatively, you can simply set `use_default_configure=true` without a `do_configure` function, which will simply run the configure script with these two flags, if you don't need anything else.
|
||||||
If using CMake and not needing any extra parameters, setting `use_cmake_configure=true` will have the same effect.
|
If the port uses CMake and doesn't need any extra parameters, setting `use_cmake_configure=true` will have the same effect.
|
||||||
|
|
||||||
This function is required (unless setting `use_default_configure` or `use_cmake_configure` to `true`), if you don't need it you can simply make it an empty function.
|
This function is required (unless setting `use_default_configure` or `use_cmake_configure` to `true`), if you don't need it you can simply make it an empty function.
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ As always, you can refer to the source directory with `srcdir`.
|
|||||||
If you're using make, you can use the variable `MAKEJOBS` to run the build process in parallel.
|
If you're using make, you can use the variable `MAKEJOBS` to run the build process in parallel.
|
||||||
|
|
||||||
Alternatively, if you're invoking make without any specific parameters, you can set `default_build_make=true` and skip the `do_build` function. This is the equivalent of doing `make -j$MAKEJOBS`.
|
Alternatively, if you're invoking make without any specific parameters, you can set `default_build_make=true` and skip the `do_build` function. This is the equivalent of doing `make -j$MAKEJOBS`.
|
||||||
Alternatively, if using CMake, you can set `default_build_cmake=true` to do the same thing.
|
Or if the port uses CMake, you can set `default_build_cmake=true` to do the same thing.
|
||||||
|
|
||||||
In any other case, the `do_build` function is required.
|
In any other case, the `do_build` function is required.
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ do_install()
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
If you're invoking `make install` without any specific parameters, you can set `default_install_make=true` and skip the `do_install` function.
|
If you're invoking `make install` without any specific parameters, you can set `default_install_make=true` and skip the `do_install` function.
|
||||||
If the project uses CMake and you don't need to pass any extra parameters, you can set `default_install_cmake=true`.
|
If the port uses CMake and you don't need to pass any extra parameters, you can set `default_install_cmake=true`.
|
||||||
|
|
||||||
In any other case, the `do_install` function is required.
|
In any other case, the `do_install` function is required.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user