Commit Graph

14 Commits

Author SHA1 Message Date
maxice8 b552a5f05d build-style/cmake.sh: set CMAKE_SYSTEM_PROCESSOR on cross-builds 2018-10-04 10:30:10 +02:00
Piotr Wójcik e1a62f4018 build-style/cmake.sh: fix default do_check 2018-03-09 13:43:10 -05:00
newbluemoon 67c20224e0 xbps-src: make cmake find/use the wx-config wrapper 2018-01-09 13:35:09 +01:00
Enno Boland 768fd97393
Revert "build-style/cmake.sh: reset working dir to wrksrc after do_install"
This reverts commit 2d678d4188.
2017-11-29 15:02:01 +01:00
Enno Boland b842440e76 build-style/cmake.sh: fix result code invalid invertation 2017-11-22 12:55:35 +01:00
maxice8 dd231e7a14 build-style/cmake.sh: add generic do_check function.
Closes #9391.
2017-11-21 12:33:38 +01:00
Enno Boland 2d678d4188 build-style/cmake.sh: reset working dir to wrksrc after do_install 2017-11-18 21:25:50 +01:00
Leah Neukirchen bcfbba40f4 build-style/cmake.sh: $CC and $CXX are good enough for cross-compiling. 2017-08-16 18:09:35 +02:00
Jürgen Buchmüller 8679124272 build-style cmake: replace -isystem with -I
Many packages depending on Qt5 or Qt4 and built with cmake
generate "flags.make" files with -isystem for include paths.
With gcc6 this results in e.g. "#include_next <stdlib.h>" giving
an error, because a -isystem /usr/include is in the wrong place.
The simple fix is to replace "-isystem" with just "-I".
2017-01-15 02:50:14 +01:00
Alessio Sergi 2c02e09892 build-style/cmake: do not use absolute path in CMAKE_INSTALL_{LIB,SBIN}DIR
...otherwise it ends up with /usr/usr/lib or /usr/usr/bin.

Partially revert PR #4230.
2016-06-26 01:01:26 +02:00
yopito 441da1c388 build-style/cmake.sh: allow templates to override cmake variables and use absolute paths (#4230) 2016-05-26 07:33:58 +02:00
beefcurtains e30ccdc3ea build-style/cmake.sh: allow build subdirectory 2015-06-29 14:29:46 +00:00
Juan RP 1f0294fb72 build-style/cmake: sbin -> bin. 2015-06-02 18:01:12 +02:00
Juan RP df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00