mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:42:43 +00:00 
			
		
		
		
	 21a5fb0fa2
			
		
	
	
		21a5fb0fa2
		
	
	
	
	
		
			
			With this change, System::foo() becomes Core::System::foo(). Since LibCore builds on other systems than SerenityOS, we now have to make sure that wrappers work with just a standard C library underneath.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			315 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			315 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     syscall.cpp
 | |
| )
 | |
| 
 | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
 | |
| serenity_libc(LibSystem system)
 | |
| target_include_directories(LibSystem PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
 | |
| 
 | |
| add_library(LibSystemStatic STATIC ${SOURCES})
 | |
| target_include_directories(LibSystemStatic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
 |