mariadb/cmake
Daniel Black 4f5c65367a cmake-wsrep: friendly error message about missing wsrep_api.h
Without this commit the error message is:

$ cmake . -DWITH_WSREP=ON
-- Running cmake version 3.12.1
-- MariaDB 10.4.3
CMake Error at cmake/wsrep.cmake:36 (FILE):
  FILE STRINGS file
  ".../mariadb-server-10.4/wsrep-lib/wsrep-API/v26/wsrep_api.h"
  cannot be read.
Call Stack (most recent call first):
  CMakeLists.txt:147 (INCLUDE)

Having 'git config cmake.update-submodules yes' nicely updates the
build without error.

$ cmake . -DWITH_WSREP=ON
-- Running cmake version 3.12.1
-- MariaDB 10.4.3
Submodule path 'wsrep-lib': checked out 'e7d72ae7f6a6995a21d743389426a963429a1fff'
Submodule path 'wsrep-lib/wsrep-API/v26': checked out '75a5f452f2ba07b0f4a3a9a94825fccc71b27398'
2019-02-13 11:36:03 +11:00
..
build_configurations MDEV-12484 Enable unix socket authentication by default 2019-02-12 19:14:37 +01:00
os mysqld: ignore SIGHUP sent by the kernel 2018-12-12 00:31:04 +01:00
abi_check.cmake Merge tag 'mariadb-10.0.20' into 10.1 2015-06-27 20:35:26 +02:00
character_sets.cmake
check_compiler_flag.cmake Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
compile_flags.cmake Fix bunch of test failures and solaris build missing include. 2016-09-09 10:01:18 +03:00
configurable_file_content.in
configure.pl Fixed BUILD scripts to by default work with galera and tokudb 2018-12-09 20:49:05 +02:00
cpack_deb.cmake
cpack_rpm.cmake Galera4 2019-01-23 15:30:00 +04:00
cpack_source_ignore_files.cmake MDEV-7376 - Removal of the tool "mysql_zap" 2015-11-26 11:34:18 +04:00
CPackRPM.cmake MDEV-14560 Extra engines enabled through additional config are not loaded on first installation 2018-09-21 13:31:37 +02:00
cpu_info.cmake Merge 10.1 into 10.2 2017-04-28 12:22:32 +03:00
crc32.cmake Make MariaDB CRC32-lib platform independence (#780) 2018-06-01 14:06:01 +04:00
create_initial_db.cmake MDEV-16662 CMake warnings: CMP0026 2018-08-12 11:37:42 +02:00
ctest.cmake Revert "MDEV-16075: Workaround to run MTR test suite for make test" 2018-06-20 23:27:23 +02:00
do_abi_check.cmake MDEV-8052 abi detection incorrect with clang 2015-06-03 09:54:56 +02:00
dtrace.cmake Adopt Debian's fix-FTBFS-on-GNU-Hurd.patch. 2018-06-29 14:00:00 +03:00
dtrace_prelink.cmake Misc. typos 2018-04-05 15:26:57 +04:00
FindJava.cmake make CONNECT's finding Java and JNI less verbose 2016-09-12 17:46:35 +02:00
FindJNI.cmake copy-paste error fixed 2016-09-22 13:07:38 +02:00
FindLZ4.cmake RocksDB : Add lookup / compiling with optional compression libraries. 2017-02-09 16:55:02 +00:00
Findzstd.cmake less re-cmake messages 2018-08-12 11:37:43 +02:00
for_clients.cmake MDEV-16662 CMake warnings: CMP0007 2018-08-12 11:37:42 +02:00
info_bin.cmake
info_macros.cmake.in Merge branch '10.0' into 10.1 2015-03-07 13:21:02 +01:00
info_src.cmake
install_layout.cmake Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
install_macros.cmake Merge branch '10.2' into 10.3 2018-09-28 16:37:06 +02:00
jemalloc.cmake Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
libutils.cmake Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
maintainer.cmake Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
make_dist.cmake.in Galera4 2019-01-23 15:30:00 +04:00
mariadb_connector_c.cmake always link C/C with external (to C/C) zlib 2018-12-20 08:06:55 +01:00
merge_archives_unix.cmake MDEV-16662 CMake warnings: CMP0026 2018-08-12 11:37:42 +02:00
misc.cmake fix cmake MESSAGE_ONCE macro for multi-line messages 2016-09-12 17:46:35 +02:00
mysql_add_executable.cmake Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
mysql_version.cmake Misc. typos 2018-04-05 15:26:57 +04:00
numa.cmake cmake: shut up repeated NUMA status messages 2018-06-03 23:25:43 +02:00
package_name.cmake less re-cmake messages 2018-08-12 11:37:43 +02:00
pcre.cmake MDEV-13412 main.func_regexp_pcre fails in buildbot on ppc64le 2017-10-09 17:51:34 +02:00
plugin.cmake Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
readline.cmake Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
sign.cmake.in Build improvements and cleanups. 2017-09-08 18:22:15 +00:00
ssl.cmake Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
stack_direction.c
submodules.cmake cmake-wsrep: friendly error message about missing wsrep_api.h 2019-02-13 11:36:03 +11:00
systemd.cmake less re-cmake messages 2018-08-12 11:37:43 +02:00
tags.cmake Bug#28200422 USE CTAGS RATHER THAN ETAGS FOR GENERATING TAGS FILE 2018-07-19 07:42:48 +02:00
versioninfo.rc.in CRLF->LF 2015-06-02 22:07:47 +02:00
win_compatibility.manifest MDEV-12207 Include windows compatibility manifest into executable to make GetVersionEx work correctly 2017-03-08 11:20:03 +00:00
wsrep.cmake cmake-wsrep: friendly error message about missing wsrep_api.h 2019-02-13 11:36:03 +11:00
zlib.cmake Merge branch '5.5' into 10.0 2018-12-20 09:15:01 +01:00