[PATCH 0/5] Add CMake build system
Bernhard Sessler
bernhard.sessler at corscience.de
Mon Dec 16 02:48:29 PST 2013
This patchset introduces a CMake based build system for building
the CppUnit libraries on different platforms and compilers.
The following compilers/platforms were tested:
- Windows 7 (x86_64):
* MinGW 4.8.1
* MSVC Professional 2013
* MSVC Express 2012
* Borland C++ Compiler 5.5.1
- Windows XP:
* MSVC Express 2010
-Linux (Ubuntu 13.10 amd64)
* GCC 4.8.0
Please note that currently only the cppunit _library_ and nothing
else is built. Support for the examples and platform specific test
runners is currently in development.
Bernhard Sessler (5):
Add CMake build system for cppunit library
cmake: Use target export feature
include: Let the build system handle detecting the features
doc: Add support for generating the API documentation
src: Fix build with Borland C++ compiler
CMakeLists.txt | 53 ++++
cmake/CheckCXXSourcefileCompiles.cmake | 99 ++++++
cmake/CheckCXXTypeExists.cmake | 35 +++
cmake/CheckCXXTypeExists.cpp.in | 6 +
cmake/ExportTargets.cmake | 40 +++
cmake/PlatformChecks.cmake | 145 +++++++++
cmake/Versioning.cmake | 47 +++
cmake/have_casts.cpp | 25 ++
cmake/have_default_template_args.cpp | 35 +++
cmake/have_namespaces.cpp | 32 ++
cmake/have_rtti.cpp | 28 ++
cmake/string_compare_signature.cpp | 30 ++
cppunitConfig.cmake.in | 46 +++
cppunitConfigVersion.cmake.in | 29 ++
doc/CMakeLists.txt | 59 ++++
doc/Doxyfile.in | 558 +++++++++++++++++----------------
include/CMakeLists.txt | 23 ++
include/config-auto.h.in | 150 +++++++++
include/cppunit/Portability.h | 22 +-
include/cppunit/TestAssert.h | 2 +-
include/cppunit/config/config-bcb5.h | 47 ---
include/cppunit/config/config-evc4.h | 57 ----
include/cppunit/config/config-msvc6.h | 64 ----
src/CMakeLists.txt | 20 ++
src/cppunit/CMakeLists.txt | 106 +++++++
src/cppunit/PlugInManager.cpp | 9 +-
26 files changed, 1308 insertions(+), 459 deletions(-)
create mode 100644 CMakeLists.txt
create mode 100644 cmake/CheckCXXSourcefileCompiles.cmake
create mode 100644 cmake/CheckCXXTypeExists.cmake
create mode 100644 cmake/CheckCXXTypeExists.cpp.in
create mode 100644 cmake/ExportTargets.cmake
create mode 100644 cmake/PlatformChecks.cmake
create mode 100644 cmake/Versioning.cmake
create mode 100644 cmake/have_casts.cpp
create mode 100644 cmake/have_default_template_args.cpp
create mode 100644 cmake/have_namespaces.cpp
create mode 100644 cmake/have_rtti.cpp
create mode 100644 cmake/string_compare_signature.cpp
create mode 100644 cppunitConfig.cmake.in
create mode 100644 cppunitConfigVersion.cmake.in
create mode 100644 doc/CMakeLists.txt
create mode 100644 include/CMakeLists.txt
create mode 100644 include/config-auto.h.in
delete mode 100644 include/cppunit/config/config-bcb5.h
create mode 100644 src/CMakeLists.txt
create mode 100644 src/cppunit/CMakeLists.txt
--
1.8.3.2
More information about the LibreOffice
mailing list