mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 166a905951
			
		
	
	
		166a905951
		
	
	
	
	
		
			
			We previously put the generated headers in SOURCES, which did not mark them as GENERATED (and did not produce a proper dependency). This commit moves all generated headers into GENERATED_SOURCES, and removes useless header SOURCES.
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			661 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			661 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| serenity_component(
 | |
|     HexEditor
 | |
|     RECOMMENDED
 | |
|     TARGETS HexEditor
 | |
| )
 | |
| 
 | |
| compile_gml(HexEditorWindow.gml HexEditorWindowGML.h hex_editor_window_gml)
 | |
| compile_gml(GoToOffsetDialog.gml GoToOffsetDialogGML.h go_to_offset_dialog_gml)
 | |
| compile_gml(FindDialog.gml FindDialogGML.h find_dialog_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     FindDialog.cpp
 | |
|     GoToOffsetDialog.cpp
 | |
|     HexDocument.cpp
 | |
|     HexEditor.cpp
 | |
|     HexEditorWidget.cpp
 | |
|     main.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     FindDialogGML.h
 | |
|     GoToOffsetDialogGML.h
 | |
|     HexEditorWindowGML.h
 | |
| )
 | |
| 
 | |
| serenity_app(HexEditor ICON app-hex-editor)
 | |
| target_link_libraries(HexEditor LibGUI LibConfig LibDesktop LibFileSystemAccessClient LibMain)
 |