summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc: Fix installation path for API documentationfeature/cmakeBernhard Sessler2014-01-111-1/+2
| | | | | | | | | | | | The documentation is now installed to <prefix>/share/cppunit-<version>/doc when CPPUNIT_INSTALL_APIDOC is ON. Change-Id: If6d07763d0e2aedf67c2792a15757f8f59761ffa Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7313 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples/qt: Rename executable and fix install pathBernhard Sessler2014-01-111-7/+6
| | | | | | | | | | | | To get a better structure into the generated libraries and executables, the qt_example target is renamed to cppunit-qt-example and will be installed to <prefix>/share/cppunit-<version>/examples Change-Id: I818c33ec2b4de02e1745af51a9c00fb8357cb5ed Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7312 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples/simple: Build simple exampleBernhard Sessler2014-01-112-0/+19
| | | | | | | | | | | In case CPPUNIT_BUILD_EXAMPLES is ON, the simple example executable and plugin are now built. Change-Id: Ia88a30805a7063de52b7d21b2f712dba9a65344f Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7318 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples/hierarchy: Build hierarchy exampleBernhard Sessler2014-01-112-0/+15
| | | | | | | | | | | When CPPUNIT_BUILD_EXAMPLES is ON, the hierarchy example will now be built with CMake. Change-Id: I1c706c09dbdd450abadf77536ee7a6157bf36612 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7317 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples/DumperPlugIn: Build dumper pluginBernhard Sessler2014-01-112-0/+13
| | | | | | | | | | | With this patch the cppunit dumper plugin example will be built when CPPUNIT_BUILD_EXAMPLES is ON. Change-Id: If5265461d01eb8b6567784b68e4d047b001d52f4 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7316 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples/cppunittest: Add to CMake build systemBernhard Sessler2014-01-113-0/+56
| | | | | | | | | | | This patch adds support for building the cppunittest executable and plugin with the CMake build system Change-Id: I4fe90657a4f74a1a96650ebdf176d2b2b8884c9c Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7315 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* DllPluginTester: Add CMake build systemBernhard Sessler2014-01-113-0/+29
| | | | | | | | | | This patch will enable building the plugin tester executable Change-Id: If14360b92dbc2d9698162b8fd0263421a061f90c Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7314 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples: Add Qt test runner example to CMake build systemBernhard Sessler2014-01-063-0/+29
| | | | | | | | | | | The new CMake build option 'CPPUNIT_BUILD_EXAMPLES' (OFF by default) decides whether to build the example programs or not. Change-Id: I6694f224bcf9c0c5131c9a1810c6565ad91626b7 Signed-off-by: Bernhard Sessler <bernhard@burnsen.de> Reviewed-on: https://gerrit.libreoffice.org/7185 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* src/qttestrunner: Add CMake build systemBernhard Sessler2014-01-065-3/+111
| | | | | | | | | | | | | | | This will allow building the qt test runner by using the CMake build system. The new CMake option 'CPPUNIT_BUILD_QT_TESTRUNNER' (OFF by default) can be used to build the test runner (switch these options ON and OFF by running the CMake built-in 'edit_cache' build target, e.g. using Linux / GNU make this would be 'make edit_cache', NMake based build systems would run 'nmake edit_cache'). Change-Id: Ifead1e2cd9162c74b8a212daf93f4bbad9f6c1f3 Signed-off-by: Bernhard Sessler <bernhard@burnsen.de> Reviewed-on: https://gerrit.libreoffice.org/7184 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* examples: Port qt test runner example to Qt4 / Qt5Bernhard Sessler2014-01-064-101/+64
| | | | | | | | Change-Id: Ide48092bc7205581d03ec31d31d6d071d4ccc3d5 Signed-off-by: Bernhard Sessler <bernhard@burnsen.de> Reviewed-on: https://gerrit.libreoffice.org/7183 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* src/qttestrunner: Port Qt test runner to Qt4 / Qt5Bernhard Sessler2014-01-0645-2594/+1541
| | | | | | | | | | | | | The codebase was (almost) completely recreated from scratch. The test runner now builds and runs with both Qt5 and Qt4 (>= 4.7.x). The qmake project file shipped with the old qt test runner was updated and can be used to build the library. Change-Id: Iaf8e773566189113fd45029240d3e3ebeaa60e50 Signed-off-by: Bernhard Sessler <bernhard@burnsen.de> Reviewed-on: https://gerrit.libreoffice.org/7182 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* src: Fix build with Borland C++ compilerBernhard Sessler2013-12-173-1/+19
| | | | | | | | Change-Id: I0a182186c396f2e45bec76c83506f765f2462b3c Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7115 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* doc: Add support for generating the API documentationBernhard Sessler2013-12-173-278/+327
| | | | | | | | Change-Id: I06db2d8a32f32c28047c7cf883f945d9bb7eb779 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7114 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* include: Let the build system handle detecting the featuresBernhard Sessler2013-12-177-180/+35
| | | | | | | | | | | | | This includes a cleanup of the specialized configuration header files, as supported features are detected during the configuration stage and do not need to be hard coded into the headers for different platforms. Change-Id: I40e26aa1846838d20badda82c40bfd002340ba80 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7113 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* cmake: Use target export featureBernhard Sessler2013-12-175-1/+63
| | | | | | | | | | | | | | | This eliminates the need for a "Findcppunit.cmake" script in projects needing the cppunit library. The project configuration files are installed along with the library itself and provide information about where to find the library and how to use it. A prominent example of this method are the Qt5 libraries, which are shipping CMake project configuration files by default. Change-Id: I9db4f07d4a56361215eb68d9080955fede8eb205 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7112 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Add CMake build system for cppunit libraryBernhard Sessler2013-12-1715-1/+554
| | | | | | | | Change-Id: I2a4b0c1469509a7239b425ca133efd0d979f1d82 Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de> Reviewed-on: https://gerrit.libreoffice.org/7111 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* -Werror,-Wbind-to-temporary-copyStephan Bergmann2013-08-161-4/+0
| | | | | | "C++98 requires an accessible copy constructor for class 'CppUnit::TestCaseMethodFunctor' when binding a reference to a temporary; was private." (Clang)
* -Werror,-Woverloaded-virtualStephan Bergmann2013-08-161-0/+2
| | | | | | | "'CppUnit::TextTestResult::addFailure' hides overloaded virtual function; ../../include/cppunit/TestResult.h:85:16: note: hidden overloaded virtual function 'CppUnit::TestResult::addFailure' declared here: different number of parameters (2 vs 1)." (Clang)
* Bug # 51154: cppunit warning cleaningTobias Lippert2013-08-1524-25/+80
| | | | | | | | | | | | This patch allows to compile the code with gcc's -Weffc++ It consists mostly of making copy constructors and assignment operators explicit and private, and of initializing all members in initializer lists. Change-Id: I6f1cae812c58e3791c2386a1288501cf2f559610 Reviewed-on: https://gerrit.libreoffice.org/5424 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* add cppunit 1.13.1 changes to NEWSMarkus Mohrhard2013-05-251-2/+10
|
* update NEWS file with 1.13.2 changesMarkus Mohrhard2013-05-251-0/+9
|
* report dlerror messages on unixMarkus Mohrhard2013-05-251-1/+5
| | | | Upstream Libreoffice patch.
* add configuration for 64bit windows buildsMarkus Mohrhard2013-05-256-0/+1143
|
* allow compiling the cppunit solution as 64bit with MSVCMarkus Mohrhard2013-05-254-5/+5
|
* Obsolete AM_CONFIG_HEADER -> AC_CONFIG_HEADERSStephan Bergmann2013-01-011-1/+1
| | | | | (cf. <https://trac.macports.org/ticket/37428> "gnome-keyring @2.30.3 autoreconf fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER")
* Use tabs as they are used in the rest of the file.Tomas Chvatal2012-12-041-7/+7
|
* support easy way to add debug informationMarkus Mohrhard2012-10-241-0/+16
|
* build with WextraMarkus Mohrhard2012-10-241-2/+2
|
* next version is 1.14.0 from the master branchMarkus Mohrhard2012-10-241-2/+3
|
* Fix "No newline at end of file"Julien Nabet2012-08-152-2/+2
|
* Bin deprecated attributesJulien Nabet2012-08-152-81/+0
|
* add execution permJulien Nabet2012-08-151-0/+0
|
* workaround problem when mxing older gcc with newer versions, fdo#52539Andriy Gapon2012-08-141-3/+6
|
* Version bump post release.Tomas Chvatal2012-08-111-1/+1
|
* Ignore build folder as we support OOT build.Tomas Chvatal2012-08-111-0/+1
|
* Merge branch 'master' into feature/buildsystem_rewritefeature/buildsystem_rewriteTomas Chvatal2012-08-112-4/+12
|\ | | | | | | | | Conflicts: config/ax_cxx_gcc_abi_demangle.m4
| * also adapt the configure check to portable header for freeMarkus Mohrhard2012-08-081-1/+1
| |
| * use portable way to access free, fdo#52536Markus Mohrhard2012-08-071-1/+1
| |
| * don't crash if demangling fails, fdo#52539Markus Mohrhard2012-08-071-2/+10
| |
* | Merge branch 'master' into feature/buildsystem_rewriteTomas Chvatal2012-08-0617-47/+1847
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: .gitignore autogen.sh configure.in doc/Makefile.am examples/cppunittest/TestAssertTest.cpp
| * gitignore: Ignore compiled files generated by 'make check'Robinson Tryon2012-07-281-0/+4
| |
| * gitignore: Ignore more build-generate filesRobinson Tryon2012-07-281-0/+2
| |
| * gitignore: Add generated files to ignore listRobinson Tryon2012-07-281-1/+6
| |
| * gitignore: Create .gitignore fileRobinson Tryon2012-07-281-0/+27
| | | | | | | | | | | | | | | | | | | | This commit adds a new top-level .gitignore file and adds ignores for the usual stuff: - Temporary/save files - Compiled object files - Other stuff created by the configure/build process This will make 'git status' give much more relevant output.
| * Fix non-doxygen buildcppunit-1.13.0Fridrich Štrba2012-06-281-2/+5
| |
| * Some build system tweaksFridrich Štrba2012-06-283-41/+76
| |
| * calm gcc paranoia about uninitialized stateMichael Meeks2012-06-271-0/+1
| |
| * avoid the need to work around auto_ptr warnings by dropping thatMichael Meeks2012-06-271-4/+13
| |
| * the 2005 project is not usefull, problems with the existing vcproj filesMarkus Mohrhard2012-06-221-99/+0
| |
| * update NEWSMarkus Mohrhard2012-06-211-17/+14
| |