void-packages/common/build-style
Đoàn Trần Công Danh 0d75e72b8b build-style/cmake: pass LIBS as CMAKE_*_STANDARD_LIBRARIES
Normally, we can add them into configure_args directly.
However, if we need to link with 2 or more libaries (e.g. -latomic
and -lexecinfo on armv6-musl), we have noway to do it properly:
- configure_args will be splited on whitespace
- cmake denies to recognise CMAKE_*_STANDARD_LIBRARIES as a list,
  hence denies to split on semicolon (";")

Let's pass LIBS as CMAKE_*_STANDARD_LIBRARIES instead.
2022-02-23 21:28:37 +07:00
..
R-cran.sh
README
cargo.sh
cmake.sh build-style/cmake: pass LIBS as CMAKE_*_STANDARD_LIBRARIES 2022-02-23 21:28:37 +07:00
configure.sh
fetch.sh
gem.sh
gemspec.sh
gnu-configure.sh
gnu-makefile.sh
go.sh
haskell-stack.sh
meson.sh build-style/meson: ensure stdout is unbuffered for continuous log 2021-10-12 22:35:38 +02:00
meta.sh
perl-ModuleBuild.sh
perl-module.sh build-style/perl-module: respect build_wrksrc 2021-07-08 18:01:11 +07:00
python-module.sh
python2-module.sh
python3-module.sh build-style/python3-{module,pep517}.sh: improve pytest usage 2021-06-08 13:53:15 -04:00
python3-pep517.sh build-style/python3-{module,pep517}.sh: improve pytest usage 2021-06-08 13:53:15 -04:00
qmake.sh
raku-dist.sh
ruby-module.sh
scons.sh
sip-build.sh build-style: new build-style for sip-build 2021-06-22 21:27:41 +07:00
slashpackage.sh
texmf.sh
void-cross.sh build-style/void-cross: check for kernel-libc-headers/patches 2021-10-06 22:11:41 -03:00
waf.sh
waf3.sh
zig-build.sh build-styles: add zig-build 2021-11-13 11:46:21 -03:00

README

BUILD STYLES
============

These shell snippets provide support for multiple build systems, i.e GNU configure,
CMake, etc. A build style file must provide at least the following functions:

	- do_configure
	- do_build
	- do_install

If a source package defines its own do_xxx() function, the function defined in
the build style file is simply ignored.