cmake: adjustments for inside ROOT buildsystem

inside ROOT Vc_INSIDE_ROOT is defined. In that case we need to do some
adjustments for nameing and placing the tests.
Also the libc++ switch is now left alone - the ROOT buildsystem needs to
figure it out.

Signed-off-by: Matthias Kretz <kretz@kde.org>
cmake: disable warning C4290 with MSVC

that warning is useless noise. I don't care whether MSVC would have done
what I wanted without this statement. This statement is required by the
C++ standard, so please don't warn about it.

The switch is in CMakeLists.txt instead of VcMacros.cmake because it's
only needed for unittest.h.

Signed-off-by: Matthias Kretz <kretz@kde.org>
remove unused file

this file was never meant to be in the repo anyway

Signed-off-by: Matthias Kretz <kretz@kde.org>
cmake: add build_tests target

I added a new custom target 'build_tests' that has all test executables
as dependency. In development versions build_tests is made with all, in
release versions you'll have to make build_tests explicitly. A standard
make all will then only build libVc.

Signed-off-by: Matthias Kretz <kretz@kde.org>
docs: don't generate LaTeX and man

The latex output from doxygen is broken (missing namespaces.tex) and the
man output looks too unreadable to be useful. So I'd rather only keep
the HTML variant for now. Until somebody wants to maintain one of these
other outputs.

Signed-off-by: Matthias Kretz <kretz@kde.org>
release script: no tests & build docs

* remove build_tests from all target for release tarballs
* run doxygen and store qch file and docs tarball

Signed-off-by: Matthias Kretz <kretz@kde.org>
release script: bail out if tagging fails

Signed-off-by: Matthias Kretz <kretz@kde.org>
docs: remove .qhp file when done

The .qhp file is an intermediate file that can be removed after the .qch
file is created.

Signed-off-by: Matthias Kretz <kretz@kde.org>
ctest: support ctest runs Debug

CMAKE_BUILD_TYPE was "hardcoded" to Release. Now the build_type
environment variable can overwrite this default. Also this string is now
added to the BUILD_NAME.

Signed-off-by: Matthias Kretz <kretz@kde.org>
workaround GCC not recognizing sizeof as immediate

GCC builtins that require an immediate don't compile with sizeof as
argument unless -O2 is given. This workaround assigns the value of the
sizeof operator to an enum and uses the enum as parameter to the
builtin.

Signed-off-by: Matthias Kretz <kretz@kde.org>

Conflicts:

	sse/vector.tcc

Signed-off-by: Matthias Kretz <kretz@kde.org>
Merge branch 'master' into staging

Conflicts:
	tests/CMakeLists.txt

Signed-off-by: Matthias Kretz <kretz@kde.org>