| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Makes it a part of cmake_src_configure() rather than oddly appearing
under FUNCTIONS.
Bug: https://bugs.gentoo.org/771876
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Add some indendation, drop space between function name and brackets,
cleanup old style if-else-endif.
Bug: https://bugs.gentoo.org/739230
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Works with downstream patch added to kde-frameworks/extra-cmake-modules in
commit f5b2cf80ea9696a5efbc2064cd432670670af486
Bug: https://bugs.gentoo.org/640432
Bug: https://bugs.gentoo.org/683102
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/689410
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
|
The NDEBUG macro turns the assert() function into a noop. This gives a
small performance boost, but may allow subtle programming errors to go
unnoticed.
This code was added back in 2008, when we started passing
-DCMAKE_BUILD_TYPE=None instead of Release or Debug. It probably tries
to mimic a default behavior of Release type builds.
Other common build systems do not do this by default. For example,
autoconf's AC_HEADER_ASSERT macro only sets NDEBUG if --disable-assert
is passed to configure (it defaults to enabled).
It is better to let users add this to CPPFLAGS themselves if they really
want to save those few CPU cycles.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
We'll have to test affected packages when changing this.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Thanks-to: Tomas Mozes <hydrapolic@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Re-adding pushd/popd until we figure out how to make it consistent
across the eclass.
Bug: https://bugs.gentoo.org/704524
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/703638
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Do it all in cmake_build()
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
_cmake_ninja_src_make -> _cmake_ninja_build
_cmake_emake_src_make -> _cmake_emake_build
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
CMAKE_MAKEFILE_GENERATOR validity is already checked in global scope.
Move the check for dev-util/ninja into src_prepare.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Added in c3d7073e1cd222d07060a0edc07079d7aa6598e6 but probably irrelevant now.
See also: https://bugs.gentoo.org/459678
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Keep old variables and functions but die if any are used.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|