gnu: cmake: Enable debugging information.
* gnu/packages/cmake.scm (cmake)[arguments]: Set #:build-type.
This commit is contained in:
		
							parent
							
								
									11f4d87756
								
							
						
					
					
						commit
						28ba01aec6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -300,6 +300,10 @@ and workspaces that can be used in the compiler environment of your choice.")
 | 
				
			||||||
        (if (%current-target-system)
 | 
					        (if (%current-target-system)
 | 
				
			||||||
            cmake-minimal-cross
 | 
					            cmake-minimal-cross
 | 
				
			||||||
            cmake-minimal))
 | 
					            cmake-minimal))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					       ;; Enable debugging information for convenience.
 | 
				
			||||||
 | 
					       ((#:build-type _ #f) "RelWithDebInfo")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       ((#:configure-flags flags ''())
 | 
					       ((#:configure-flags flags ''())
 | 
				
			||||||
        `(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
 | 
					        `(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
 | 
				
			||||||
                       (string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"
 | 
					                       (string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue