mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	Toolchain: Support building the toolchain with Ninja (#2504)
This change allows users to use CMAKE_GENERATOR=Ninja ./BuildIt.sh BuildIt.sh assumes the default cmake generator is Make. However, the user may specify CMAKE_GENERATOR=Ninja, for example, to set the default generator. Therefore, instead of calling make to build the LibC target we should call cmake --build to use the correct generated files.
This commit is contained in:
		
							parent
							
								
									7675812efd
								
							
						
					
					
						commit
						1a56fe714c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -229,7 +229,7 @@ pushd "$DIR/Build/" | |||
|         mkdir -p "$BUILD" | ||||
|         pushd "$BUILD" | ||||
|             CXXFLAGS="-DBUILDING_SERENITY_TOOLCHAIN" cmake .. | ||||
|             "$MAKE" LibC | ||||
|             cmake --build . --target LibC | ||||
|             install -D Libraries/LibC/libc.a Libraries/LibM/libm.a Root/usr/lib/ | ||||
|             SRC_ROOT=$(realpath "$DIR"/..) | ||||
|             for header in "$SRC_ROOT"/Libraries/Lib{C,M}/**/*.h; do | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Redmond
						Paul Redmond