| 
					
				 | 
			
			
				@@ -193,11 +193,31 @@ run_LooseObjectDepends() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 function (run_CustomCommandExplictDepends) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/CustomCommandExplicitDepends-build) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   run_cmake(CustomCommandExplicitDepends) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  run_ninja("${RunCMake_TEST_BINARY_DIR}" "command.h") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (EXISTS "${RunCMake_TEST_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}dep${CMAKE_STATIC_LIBRARY_SUFFIX}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  set(DEP_LIB "${RunCMake_TEST_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}dep${CMAKE_SHARED_LIBRARY_SUFFIX}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  run_ninja("${RunCMake_TEST_BINARY_DIR}" "command-option.h") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (EXISTS "${DEP_LIB}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    message(FATAL_ERROR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "The `dep` library was created when requesting a custom command to be " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "generated; this should no longer be necessary when passing " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "DEPENDS_EXPLICIT_ONLY option.") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  endif () 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  run_ninja("${RunCMake_TEST_BINARY_DIR}" "command-variable-on.h") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (EXISTS "${DEP_LIB}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    message(FATAL_ERROR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "The `dep` library was created when requesting a custom command to be " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "generated; this should no longer be necessary when setting " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY variable to ON.") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  endif () 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  run_ninja("${RunCMake_TEST_BINARY_DIR}" "command-variable-off.h") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (NOT EXISTS "${DEP_LIB}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     message(FATAL_ERROR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      "The `dep` library was created when requesting an custom command to be " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      "generated; this should no longer be necessary when passing DEPENDS_EXPLICIT_ONLY keyword.") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "The `dep` library was not created when requesting a custom command to be " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "generated; this should be necessary when setting " 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      "CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY variable to OFF.") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   endif () 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 endfunction () 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 run_CustomCommandExplictDepends() 
			 |