mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:42:45 +00:00 
			
		
		
		
	 631d36fd98
			
		
	
	
		631d36fd98
		
	
	
	
	
		
			
			This adds component declarations so that users can select to not build certain parts of the OS.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     TextEditor
 | |
|     RECOMMENDED
 | |
|     TARGETS TextEditor
 | |
|     DEPENDS ImageDecoder RequestServer WebContent
 | |
| )
 | |
| 
 | |
| compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     main.cpp
 | |
|     FileArgument.cpp
 | |
|     MainWidget.cpp
 | |
|     TextEditorWindowGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(TextEditor ICON app-text-editor)
 | |
| target_link_libraries(TextEditor LibWeb LibMarkdown LibGUI LibShell LibRegex LibDesktop LibCpp LibJS LibSQL)
 |