mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Rename CMake/pkg-config target Catch2Main to Catch2WithMain
This describes the reality better, as it also links in the rest of Catch2. The on-disk name of the static library remains just `Catch2Main`, as that is what it is -- single main function -- and on-disk artifacts cannot describe link dependencies.
This commit is contained in:
		| @@ -2,9 +2,9 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ | ||||
| libdir=@CMAKE_INSTALL_FULL_LIBDIR@ | ||||
| pkg_version=@Catch2_VERSION@ | ||||
| 
 | ||||
| Name: Catch2-Main | ||||
| Description: Links in the default main function for Catch2 | ||||
| Name: Catch2-With-Main | ||||
| Description: A modern, C++-native test framework for C++14 and above (links in default main) | ||||
| Version: ${pkg_version} | ||||
| Requires: catch2 = ${pkg_version} | ||||
| Cflags: -I${includedir} | ||||
| Libs: -L${libdir} -lCatch2Main | ||||
| Libs: -L${libdir} -lCatch2WithMain | ||||
| @@ -2,7 +2,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ | ||||
| libdir=@CMAKE_INSTALL_FULL_LIBDIR@ | ||||
|  | ||||
| Name: Catch2 | ||||
| Description: A modern, C++-native, header-only, test framework for C++14 and above | ||||
| Description: A modern, C++-native, test framework for C++14 and above | ||||
| URL: https://github.com/catchorg/Catch2 | ||||
| Version: @Catch2_VERSION@ | ||||
| Cflags: -I${includedir} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský