mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	CMake: don't build tests when imported in another project
This commit is contained in:
		| @@ -3,12 +3,5 @@ | ||||
| export CC="$_CC" | ||||
| export CXX="$_CXX" | ||||
|  | ||||
| if [ -n "$SANITIZE" ]; then | ||||
| 	export CXXFLAGS="-fsanitize=$SANITIZE" | ||||
| 	BUILD_TYPE="Debug" | ||||
| else | ||||
| 	BUILD_TYPE="Release" | ||||
| fi | ||||
|  | ||||
| cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . | ||||
| cmake -DCMAKE_BUILD_TYPE=Release . | ||||
| cmake --build . | ||||
|   | ||||
		Reference in New Issue
	
	Block a user