Commit graph

26 commits

Author SHA1 Message Date
Ivailo Monev
0e4b0509c8 fix copy-paste mistake in PulseAudio CMake module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-10 21:06:33 +02:00
Ivailo Monev
4205a2ec19 rework KATIE_SETUP_SOURCES CMake macro
now that the assembler language is enabled in the build system the macro
turned out to be a bit bogus and it has to handle sources control too
because some CPU specifiec sources were, previously, added unconditionally
to targets leading to build failures (especially with assembly).

CPU tests now declare variables that are cached and can be changed by the
user to avoid touching parent scope from the test macros (previously
functions for that reason).

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-10 14:53:19 +02:00
Ivailo Monev
ef8c202c4c improve GLib2 and D-Bus detection 2016-01-10 00:06:18 +02:00
Ivailo Monev
223d0b4567 rewrite some CMake modules, improve others
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-09 23:55:09 +02:00
Ivailo Monev
4016b14a9b rewrite GLib2 CMake module, minor build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-09 00:40:52 +02:00
Ivailo Monev
e971c2e024 update MuSQL CMake module documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-05 16:56:29 +02:00
Ivailo Monev
cdf942c03d fix regression in the MySQL CMake module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-30 10:16:54 +02:00
Ivailo Monev
620e4ff6b8 rewrite some cmake modules
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-30 10:09:12 +02:00
Ivailo Monev
b5347a5613 handle installation without RPATH on UNIX properly
the custom ld.so.conf file ensures that the Katie libraries get
registered in the cache so that when installed in location other than
/usr/lib or other standard libraries path executables can operate.

Even the default libraries path (/usr/local/lib/katie) is
non-standard and requires the config, unless CMAKE_SKIP_INSTALL_RPATH
if set to ON but because RPATH is considered security issue it is
unlikely that binary distributors will turn it on when building Katie

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-30 22:45:32 +02:00
Ivailo Monev
4400040671 fix error detection in headers optimizer cmake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-21 23:32:05 +02:00
Ivailo Monev
31d9a7de70 make sure that DBUS_ARCH_INCLUDES affect DBUS_FOUND
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 22:38:51 +02:00
Ivailo Monev
8b1d701ff7 extend dbus architecture headers search path
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 22:36:36 +02:00
Ivailo Monev
77608502c2 fix regression in the icu cmake module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 22:28:28 +02:00
Ivailo Monev
2d2876d7b5 make genmap script python 3 compatible, call it with python interpreter
on freebsd the shebang may not be correct as it, usually, places
files under /usr/local prefix instead of /usr thus calling with
what the PythonInterp cmake module has found is more reliable
cross-platform


Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 20:21:22 +02:00
Ivailo Monev
2a89c541b8 report errors from external processes (genmap and unifdef)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-19 20:06:37 +02:00
Ivailo Monev
7373a86388 make network information service support optional as it was in qt
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-17 05:17:14 +02:00
Ivailo Monev
04d0ca3194 fix dbus cmake module regression
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-16 07:19:30 +02:00
Ivailo Monev
828d75932a build system and modules cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-16 02:59:15 +02:00
Ivailo Monev
ace4c699b0 add cmake toolchain file for use on arch linux
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-16 02:22:09 +02:00
Ivailo Monev
032124aa48 build native tools when cross-compiling
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-16 00:04:18 +02:00
Ivailo Monev
f8fff3df79 rewrite sqlite cmake module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-15 23:23:48 +02:00
Ivailo Monev
d11389c58a move features definitions to top-level cmake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-15 18:15:10 +02:00
Ivailo Monev
8e624dfd79 when optimizing headers undefine tools definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-14 01:15:44 +02:00
Ivailo Monev
8e4381e946 support ICU as Qt4 does
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-13 06:26:59 +02:00
Ivailo Monev
8e2b0e39fe fix compatibility issues with older cmake versions (2.8.12.1)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-10 18:38:44 +02:00
Ivailo Monev
bfbc380756 initial import
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-10 05:06:13 +02:00