void-packages/common/build-style
John 851a83b478 Revert "build-style/cmake.sh: Use -DCMAKE_BUILD_TYPE=RelWithDebInfo when having XBPS_DEBUG_PKGS set"
This reverts commit 6638dc5526.

Setting RelWithDebInfo can cause issues since cmake macros often handle
only Release or Debug build but not RelWithDebInf which might cause
issues https://github.com/void-linux/void-packages/pull/10948

It is advised to set -DCMAKE_BUILD_TYPE=RelWithDebInfo manually in
packages that ignore our CFLAGS or patch them to use them

closes #10948
2019-04-15 04:26:07 +02:00
..
cargo.sh build-style/cargo: don't manually configure with cargo, use the 2019-01-20 15:33:10 -02:00
cmake.sh Revert "build-style/cmake.sh: Use -DCMAKE_BUILD_TYPE=RelWithDebInfo when having XBPS_DEBUG_PKGS set" 2019-04-15 04:26:07 +02:00
configure.sh build-style/configure.sh: use "make check" if available. 2017-11-20 13:26:29 +01:00
fetch.sh xbps-src: reduce basename(1) usage. 2019-04-14 01:47:16 -03:00
gem.sh build-style/gem.sh: remove usage of dirname 2019-04-14 06:22:09 -03:00
gemspec.sh build-style/gemspec.sh: remove usage of dirname 2019-04-14 06:22:09 -03:00
gnu-configure.sh build-style/gnu-configure.sh: warn, don't fail if "make check" is not implemented. 2017-11-20 13:26:29 +01:00
gnu-makefile.sh build-style/gnu-makefile.sh: use "make check" if available. 2017-11-20 13:26:29 +01:00
go.sh build-style/go.sh: remove dirname usage 2019-04-14 06:22:09 -03:00
haskell-stack.sh build-style/haskell-stack.sh: init using --system-ghc too. 2018-04-05 14:32:40 +02:00
meson.sh meta: set meson_crossfile on both do-patch and do-configure 2019-02-28 09:42:55 -03:00
meta.sh
perl-module.sh common/build-style/perl-module.sh: use target perl includes 2018-09-08 07:10:55 -03:00
perl-ModuleBuild.sh common/build-style/perl-ModuleBuild.sh: use target perl includes 2018-09-08 07:10:55 -03:00
perl6-dist.sh build_style=perl6-dist: add 2018-11-26 04:11:50 -02:00
python-module.sh build-style/python-module.sh: add do_check 2019-03-21 13:28:56 -03:00
python2-module.sh build-style/python{2,3}-module: do not use custom build directory 2017-08-25 16:17:12 +02:00
python3-module.sh build-style/python3-module.sh: add do_check 2019-02-22 07:24:17 -03:00
qmake.sh build-style: qmake.sh add missing QMAKE_LINK_C=$CC 2018-11-02 12:25:31 +01:00
R-cran.sh Add and document R-cran build style; support CRAN in update-check. 2017-06-08 13:32:40 +02:00
README
ruby-module.sh
scons.sh common/build-style/scons.sh: fix comment 2018-03-05 20:49:36 +00:00
slashpackage.sh
waf.sh common/build-style/waf,waf3: explicitly pass libdir 2019-01-26 18:43:09 -02:00
waf3.sh common/build-style/waf,waf3: explicitly pass libdir 2019-01-26 18:43:09 -02:00

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.