mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	[CMake] Fix dependencies for generating install_tactic.cpp.
				
					
				
			Previously CMake was not aware of which headers files the generation of `install_tactic.cpp` depended on. Consequently this could result in broken incremental builds if * Existing headers that declared tactics/probes changed. * New tactics/probes were added to new header files. Now the `z3_add_component()` CMake function has been modifed to take an optional `TACTIC_HEADERS` argument which allows the headers that declare tactics/probes to be explicitly listed. The necessary component declarations have been modified to declare their tactic/probe header files. With this information CMake will now regenerate `install_tactic.cpp` correctly. This required the `mk_install_tactic_cpp_internal()` function to be changed to take a list of header files rather than a list of component source directories. The two consumers (CMake and Python/Makefile build systems) of this function have been modified to work with this change. This partially fixes #1030.
This commit is contained in:
		
							parent
							
								
									a3ee785923
								
							
						
					
					
						commit
						229fd3dc3e
					
				
					 22 changed files with 171 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -15,4 +15,14 @@ z3_add_component(bv_tactics
 | 
			
		|||
    bit_blaster
 | 
			
		||||
    core_tactics
 | 
			
		||||
    tactic
 | 
			
		||||
  TACTIC_HEADERS
 | 
			
		||||
    bit_blaster_tactic.h
 | 
			
		||||
    bv1_blaster_tactic.h
 | 
			
		||||
    bv_bound_chk_tactic.h
 | 
			
		||||
    bv_bounds_tactic.h
 | 
			
		||||
    bv_size_reduction_tactic.h
 | 
			
		||||
    bvarray2uf_tactic.h
 | 
			
		||||
    dt2bv_tactic.h
 | 
			
		||||
    elim_small_bv_tactic.h
 | 
			
		||||
    max_bv_sharing_tactic.h
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue