mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
e800605ad3
This URL library ends up being a relatively fundamental base library of the system, as LibCore depends on LibURL. This change has two main benefits: * Moving AK back more towards being an agnostic library that can be used between the kernel and userspace. URL has never really fit that description - and is not used in the kernel. * URL _should_ depend on LibUnicode, as it needs punnycode support. However, it's not really possible to do this inside of AK as it can't depend on any external library. This change brings us a little closer to being able to do that, but unfortunately we aren't there quite yet, as the code generators depend on LibCore.
50 lines
1.4 KiB
CMake
50 lines
1.4 KiB
CMake
serenity_component(
|
|
Spreadsheet
|
|
TARGETS Spreadsheet
|
|
DEPENDS WebContent
|
|
)
|
|
|
|
stringify_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml)
|
|
stringify_gml(CondView.gml CondFormattingViewGML.h cond_fmt_view_gml)
|
|
stringify_gml(csv_import.gml CSVImportGML.h csv_import_gml)
|
|
stringify_gml(csv_export.gml CSVExportGML.h csv_export_gml)
|
|
stringify_gml(select_format_page.gml FormatSelectionPageGML.h select_format_page_gml)
|
|
|
|
set(SOURCES
|
|
Cell.cpp
|
|
CellSyntaxHighlighter.cpp
|
|
CellType/Date.cpp
|
|
CellType/Format.cpp
|
|
CellType/Identity.cpp
|
|
CellType/Numeric.cpp
|
|
CellType/String.cpp
|
|
CellType/Type.cpp
|
|
CellTypeDialog.cpp
|
|
ExportDialog.cpp
|
|
HelpWindow.cpp
|
|
ImportDialog.cpp
|
|
JSIntegration.cpp
|
|
Readers/XSV.cpp
|
|
Spreadsheet.cpp
|
|
SpreadsheetModel.cpp
|
|
SpreadsheetView.cpp
|
|
SpreadsheetWidget.cpp
|
|
Workbook.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
CSVExportGML.h
|
|
CSVImportGML.h
|
|
CondFormattingGML.h
|
|
CondFormattingViewGML.h
|
|
FormatSelectionPageGML.h
|
|
)
|
|
|
|
serenity_app(Spreadsheet ICON app-spreadsheet)
|
|
target_link_libraries(Spreadsheet PRIVATE LibConfig LibCore LibFileSystem LibFileSystemAccessClient LibGfx LibGUI LibJS LibMain LibMarkdown LibSyntax LibWebView LibWeb LibURL)
|
|
|
|
serenity_test(Writers/Test/TestXSVWriter.cpp Spreadsheet)
|
|
|
|
serenity_test(Readers/Test/TestXSV.cpp Spreadsheet)
|
|
target_sources(TestXSV PRIVATE Readers/XSV.cpp)
|