build opencv in debug mode
This commit is contained in:
		
							parent
							
								
									844cad9621
								
							
						
					
					
						commit
						67c5bd07d0
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -186,7 +186,8 @@ let
 | 
			
		|||
 | 
			
		||||
  # TODO: make a nix-shell expression out of this
 | 
			
		||||
  computerVisionTooling = [
 | 
			
		||||
  (enableDebugging (opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages;}))
 | 
			
		||||
  # build with debug symbols and in debug mode (less optimized)
 | 
			
		||||
  (enableDebugging ((opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";})))
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
in
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue