Patrick Johnmeyer
10e50ad70c
Extend hiatus to 26 November
2020-11-12 23:26:38 -06:00
Patrick Johnmeyer
854cae2518
Extend hiatus to 15 October
...
See #180
2020-10-01 19:56:11 -05:00
Patrick Johnmeyer
37df68be21
Add hiatus note & link to issue
2020-08-17 19:53:58 -05:00
Patrick Johnmeyer
0ea55a251b
Merge pull request #173 from dhuantes/install-improvements
...
UnitTest++ now correctly supports CMake's find_package config mode
2020-04-18 19:17:46 -05:00
Dan Huantes
f871471d90
Added Namespace to Exported Target
...
[CMakeLists.txt]
- It is standard practice to have a namespace
for an imported target. Added UnitTest++::
as the namespace argument so that
find_package(UnitTest++) will result in
UnitTest++::UnitTest++ target that will
be used in target_link_libraries.
- Updated target_link_libraries for
TestUnitTest++ as an example
2020-04-07 18:07:24 -05:00
Dan Huantes
c269666681
Version made explicitly 3 parts
...
- Updated to appveyor.yml and
configure.ac to 2.1.0 to
match CMake project version.
2019-10-17 08:23:46 -05:00
Patrick Johnmeyer
d355e127be
Merge pull request #172 from Flow86/patch-1
...
add support to build unittest cpp on AIX (IBM)
2019-10-15 21:27:12 -05:00
Dan Huantes
2423fcac76
CrasingTestsAreReportedAsFailures no longer core dumps on Clang Release
...
Found that Crashing tests at some point in Clang
history were actually caught but testing on
Clang 6.0 and Clang 7.0 this is not the case.
So added Clang to the list of compilers that
don't run this tests. Noted that several
other Pull Requests were failing for the same
reason.
2019-08-15 08:30:43 -05:00
Dan Huantes
bdef2bdd62
UnitTest++ now correctly supports CMake's find_package config mode
...
[CMakeLists.txt]
- Bumped cmake minimum requirement to go to 3.0 as this
appears to be earliest version that transitive usage
requirements are supported.
- Added version to project so that is evident
when looking at CMakeLists.txt
- Removed include_directories as that command
affects more than just UnitTest++ in favor
of target_include_directories.
- The target_include_directories uses the
generator expressions to do the same thing
for the BUILD_INTERFACE condition but only
affects UnitTest++. The INSTALL_INTERFACE
ensures that when UnitTest++ is installed
client applications calling find_package
for UnitTest++ only have to add the
UnitTest++ target to the target_link_libraries
and will get the correct include path
for UnitTest++ added to their include paths.
- Added DEBUG_POSTFIX to both library and
unit test to distinguish them from each other
as they are installed into the same directory
and would otherwise overwrite one another.
- Added Versioning using write_basic_package_version_file
to the install so that a client can call
find_package(UnitTest++ 2.1 REQUIRED) and it will be
able to confirm the version. If the version is updated
you could theoretically ahve a version 2.2, 2.3 ,etc...
and the find_package mechanism will find the correct one.
the SameMajorVersion option in that call indicates
that 2.3 is compatible with 2.1 or in other words if
find_package(UnitTest++ 2.1 REQUIRED) is called and
2.3 is installed that satisfies the condition but
if only 3.0 was installed it will fail because of
'SameMajorVersion'.
- Also added installation for the Version file.
2019-08-15 07:26:45 -05:00
Flow86
a7d506d7eb
add support to build unittest cpp on AIX (IBM)
2019-03-20 13:19:15 +01:00
Patrick Johnmeyer
bc5d87f484
Merge pull request #161 from martinmoene/cmake
...
Use if (MSVC) as per issue #160
2017-07-08 10:06:47 -05:00
Martin Moene
a6fdaeef12
Use if (MSVC) as per issue #160
2017-07-08 11:09:38 +02:00
Patrick Johnmeyer
85b3666173
Merge pull request #149 from timdave13/patch-1
...
fix clang warnings
2017-07-07 23:16:00 -05:00
Patrick Johnmeyer
8c460c48e6
Merge pull request #141 from Reification/feature-MSVC-Clang
...
Feature msvc clang
2017-06-30 23:46:28 -05:00
Patrick Johnmeyer
65af507437
Merge pull request #155 from vicentebolea/adding-autogen-script
...
Added autogen.sh file to ease autotools installation
2017-06-30 23:35:29 -05:00
Patrick Johnmeyer
ee996164f2
Merge branch 'master' into feature-MSVC-Clang
2017-06-30 23:31:18 -05:00
Patrick Johnmeyer
af28992c5d
Merge pull request #148 from cwilling/add-lib_dir
...
Add support for LIB_SUFFIX
2017-06-30 23:13:06 -05:00
Vicente Adolfo Bolea Sanchez
33e6314753
Added autogen.sh file to ease autotools installation
2017-05-22 00:22:38 +09:00
Tim Bochenek
07d4872076
fix clang warnings
...
fix clang warning warning: no previous extern declaration for non-static variable 'X' [-Wmissing-variable-declarations]
2017-02-03 08:19:17 -05:00
Gabriel Hare
0b15459ee4
Downgrade message to STATUS and do not declare C++11 as a requirement.
2017-02-02 21:56:48 -08:00
Tim Bochenek
0a6857e388
fix clang warning
...
fix clang warning 'extra ';' outside function is c++11 extension
2017-02-02 18:03:59 -05:00
timdave13
d7bd757862
fix clang warning
...
fix clang warning: 'X' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Wweak-vtables]
2017-02-02 17:14:27 -05:00
Christoph Willing
0757ba8f90
Add support for LIB_SUFFIX
...
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
2017-01-23 17:49:12 +10:00
Patrick Johnmeyer
c331bb0dea
Merge pull request #146 from iblis17/fbsd-cmake
...
cmake: fix pkgconfig dir path on FreeBSD
2017-01-19 19:00:12 -06:00
Iblis Lin
85bade33f5
cmake: fix pkgconfig dir path on FreeBSD
2017-01-14 23:00:24 +08:00
Patrick Johnmeyer
d0980fe7e2
Merge pull request #143 from unittest-cpp/v2-prep
...
v2.0.0 prep
Closes #96
2017-01-13 15:55:01 -06:00
Patrick Johnmeyer
615b6cdd0f
Add note re: autotools to INSTALL file
2017-01-13 14:51:19 -06:00
Patrick Johnmeyer
8e5968bb05
Roll version number to 2.0.0
2017-01-13 14:38:23 -06:00
Patrick Johnmeyer
8d70dff05b
Delete unused ChangeLog file
...
Closes #138
2017-01-13 14:38:07 -06:00
Patrick Johnmeyer
5e3b37825c
Merge pull request #139 from edanaher/pkgconfig-with-cmake
...
Build pkgconfig file with CMake, not just with autoconf.
Fixes #89
2017-01-13 13:28:25 -06:00
Gabriel Hare
a2fe23887a
Use “MATCHES” instead of “STREQUAL” to avoid ambiguous comparison.
...
NOTE: Unlike STREQUAL this comparison is supported pre and post CMake v3.1.0
2016-12-15 02:50:09 -08:00
Gabriel Hare
bb49539107
Revert "Increase CMake version to resolve developer warnings regarding implicit quoted dereference in STREQUAL comparison"
...
This reverts commit 8f7a263446 .
2016-12-15 02:46:13 -08:00
Gabriel Hare
c4ab9d31ed
Identify Clang compiler when used as an MSVC extension
2016-12-15 00:40:03 -08:00
Gabriel Hare
8f7a263446
Increase CMake version to resolve developer warnings regarding implicit quoted dereference in STREQUAL comparison
2016-12-15 00:31:56 -08:00
Gabriel Hare
9eba823269
Demonstrate that compiler is identified as MSVC when VS2014 Clang extension is used
2016-12-14 23:11:20 -08:00
Patrick Johnmeyer
478b6545b2
Merge pull request #135 from jumonatr/master
...
Update Docs Hash
2016-12-03 22:57:09 -06:00
Evan Danaher
40f90dc601
Build pkgconfig file with CMake, not just with autoconf.
2016-12-01 12:52:48 -05:00
Julien Monat Rodier
0d77b1ae10
Update docs reference to avoid bad path names on windows
2016-10-11 13:00:40 -07:00
Patrick Johnmeyer
d8e27e1825
Merge pull request #127 from pjohnmeyer/up_gcc_clang_warning_levels
...
Up non-MSVC warning levels
2016-08-30 20:45:40 -05:00
Patrick Johnmeyer
1d0e157c5a
Merge pull request #126 from pjohnmeyer/up_msvc_warning_levels
...
Up MSVC warning levels
2016-08-30 20:45:20 -05:00
Patrick Johnmeyer
c431be9f94
Merge pull request #128 from killoctal/useSize_t
...
Use size_t for array or vector index
2016-08-30 20:44:49 -05:00
Gabriel Schlozer
eca039304b
Used size_t for CHECK macros
2016-08-29 22:36:31 +02:00
Patrick Johnmeyer
7d7ba0aba4
Re-enable ignored-qualifiers warning and fix
2016-08-27 20:41:41 -05:00
Patrick Johnmeyer
e161d44077
Use CMake SET instead of string CONCAT
...
string(CONCAT...) was not available in older versions of CMake
targeted by this project.
2016-08-27 10:04:54 -05:00
Patrick Johnmeyer
2e2475fa54
Fix unused variable warnings
2016-08-27 09:55:37 -05:00
Patrick Johnmeyer
f0044e919d
Up warning level to -Wall/extra/error for non-MSVC
...
UTPP_AMPLIFY_WARNINGS can be turned OFF to disable the new behavior.
2016-08-27 09:54:32 -05:00
Patrick Johnmeyer
7e4fff3bb4
Fix "assignment operator could not be generated" warning
...
This shows up with /W4 on MSVC. Fixes #107 .
2016-08-27 08:27:15 -05:00
Patrick Johnmeyer
7c15942751
Up warning level to /W4 /WX for MSVC-like compilers
...
Also adds a CMake option, UTPP_AMPLIFY_WARNINGS, that can be turned
OFF to disable the new behavior.
2016-08-27 08:26:05 -05:00
Patrick Johnmeyer
83dbcc076d
Merge pull request #115 from unittest-cpp/add_cmake_option_to_disable_running_tests_as_build_step
...
Add UTPP_INCLUDE_TESTS_IN_BUILD CMake option
2016-08-16 22:45:34 -05:00
Patrick Johnmeyer
097c71e6b8
Merge pull request #114 from unittest-cpp/long_and_short_macros
...
Long and short macros
2016-08-16 22:41:13 -05:00