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
..
R-cran.sh
README
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
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
gnu-makefile.sh
go.sh build-style/go.sh: remove dirname usage 2019-04-14 06:22:09 -03:00
haskell-stack.sh
meson.sh meta: set meson_crossfile on both do-patch and do-configure 2019-02-28 09:42:55 -03:00
meta.sh
perl-ModuleBuild.sh
perl-module.sh
perl6-dist.sh
python-module.sh build-style/python-module.sh: add do_check 2019-03-21 13:28:56 -03:00
python2-module.sh
python3-module.sh build-style/python3-module.sh: add do_check 2019-02-22 07:24:17 -03:00
qmake.sh
ruby-module.sh
scons.sh
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

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.