mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	@@ -9,7 +9,7 @@ else()
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
option(CATCH_INSTALL_DOCS "Install documentation alongside library" ON)
 | 
			
		||||
option(CATCH_INSTALL_EXTRAS "Install extras alongside library" ON)
 | 
			
		||||
option(CATCH_INSTALL_EXTRAS "Install extras (CMake scripts, debugger helpers) alongside library" ON)
 | 
			
		||||
option(CATCH_DEVELOPMENT_BUILD "Build tests, enable warnings, enable Werror, etc" OFF)
 | 
			
		||||
 | 
			
		||||
include(CMakeDependentOption)
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ class CatchConan(ConanFile):
 | 
			
		||||
        cmake = CMake(self)
 | 
			
		||||
        cmake.definitions["BUILD_TESTING"] = "OFF"
 | 
			
		||||
        cmake.definitions["CATCH_INSTALL_DOCS"] = "OFF"
 | 
			
		||||
        cmake.definitions["CATCH_INSTALL_HELPERS"] = "ON"
 | 
			
		||||
        cmake.definitions["CATCH_INSTALL_EXTRAS"] = "ON"
 | 
			
		||||
        cmake.configure(build_folder="build")
 | 
			
		||||
        return cmake
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -265,8 +265,9 @@ that consume it. These are:
 | 
			
		||||
Catch2's test binary will be built. Defaults to `ON`.
 | 
			
		||||
* `CATCH_INSTALL_DOCS` -- When `ON`, Catch2's documentation will be
 | 
			
		||||
included in the installation. Defaults to `ON`.
 | 
			
		||||
* `CATCH_INSTALL_HELPERS` -- When `ON`, Catch2's extras folder will be
 | 
			
		||||
included in the installation. Defaults to `ON`.
 | 
			
		||||
* `CATCH_INSTALL_EXTRAS` -- When `ON`, Catch2's extras folder (the CMake
 | 
			
		||||
scripts mentioned above, debugger helpers) will be included in the
 | 
			
		||||
installation. Defaults to `ON`.
 | 
			
		||||
* `CATCH_DEVELOPMENT_BUILD` -- When `ON`, configures the build for development
 | 
			
		||||
of Catch2. This means enabling test projects, warnings and so on.
 | 
			
		||||
Defaults to `OFF`.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user