void-packages/common/build-style
Joshua Krämer 636336b1a7 Add -DNDEBUG to CFLAGS and CXXFLAGS in CMake build style
CMake adds -DNDEBUG with build types Release, MinSizeRel and RelWithDebInfo.
NDEBUG disables assert(), which can improve performance.
2021-07-16 19:48:16 +02:00
..
cargo.sh
cmake.sh Add -DNDEBUG to CFLAGS and CXXFLAGS in CMake build style 2021-07-16 19:48:16 +02:00
configure.sh
fetch.sh
gem.sh
gemspec.sh
gnu-configure.sh
gnu-makefile.sh
go.sh
haskell-stack.sh
meson.sh
meta.sh
perl-module.sh build-style/perl-module: respect build_wrksrc 2021-07-08 18:01:11 +07:00
perl-ModuleBuild.sh
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
R-cran.sh
raku-dist.sh
README
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: fix after patch -Np1 transition 2021-06-20 17:54:31 +02:00
waf.sh
waf3.sh

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.