mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			369 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			369 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
#
 | 
						|
# Automatically build labwc
 | 
						|
#
 | 
						|
 | 
						|
builddir=build-clang
 | 
						|
 | 
						|
if ! [ -e subprojects/wlroots ]; then
 | 
						|
	git clone https://github.com/swaywm/wlroots subprojects/wlroots
 | 
						|
fi
 | 
						|
 | 
						|
 | 
						|
if ! [ -e ${builddir} ]; then
 | 
						|
	CC=clang meson -Dwlroots:default_library=static ${builddir}
 | 
						|
	# To enable ASAN and UBSAN, run meson with
 | 
						|
	# `-Db_sanitize=address,undefined`
 | 
						|
fi
 | 
						|
 | 
						|
ninja -C ${builddir}
 |