2021-06-15 16:16:32 +03:00
|
|
|
serenity_component(
|
|
|
|
Spreadsheet
|
|
|
|
TARGETS Spreadsheet
|
|
|
|
)
|
|
|
|
|
2020-12-20 13:47:44 +03:00
|
|
|
compile_gml(CondFormatting.gml CondFormattingGML.h cond_fmt_gml)
|
|
|
|
compile_gml(CondView.gml CondFormattingViewGML.h cond_fmt_view_gml)
|
2021-03-21 20:08:08 +03:00
|
|
|
compile_gml(csv_import.gml CSVImportGML.h csv_import_gml)
|
2021-03-20 13:30:49 +03:00
|
|
|
compile_gml(csv_export.gml CSVExportGML.h csv_export_gml)
|
2021-03-21 20:08:08 +03:00
|
|
|
compile_gml(select_format_page.gml FormatSelectionPageGML.h select_format_page_gml)
|
2020-09-25 22:01:39 +03:00
|
|
|
|
2020-08-23 06:55:16 +03:00
|
|
|
set(SOURCES
|
2020-08-28 14:50:23 +03:00
|
|
|
Cell.cpp
|
2020-08-24 19:38:47 +03:00
|
|
|
CellSyntaxHighlighter.cpp
|
2020-09-25 16:50:14 +03:00
|
|
|
CellType/Date.cpp
|
2020-09-12 14:22:08 +03:00
|
|
|
CellType/Format.cpp
|
2020-08-28 16:25:06 +03:00
|
|
|
CellType/Identity.cpp
|
|
|
|
CellType/Numeric.cpp
|
|
|
|
CellType/String.cpp
|
|
|
|
CellType/Type.cpp
|
2020-08-29 09:51:18 +03:00
|
|
|
CellTypeDialog.cpp
|
2020-12-20 13:47:44 +03:00
|
|
|
CondFormattingGML.h
|
|
|
|
CondFormattingViewGML.h
|
2021-03-20 13:30:49 +03:00
|
|
|
ExportDialog.cpp
|
2020-08-24 18:35:20 +03:00
|
|
|
HelpWindow.cpp
|
2021-03-21 20:08:08 +03:00
|
|
|
ImportDialog.cpp
|
2020-08-26 06:02:38 +03:00
|
|
|
JSIntegration.cpp
|
2020-11-23 11:22:45 +03:00
|
|
|
Readers/XSV.cpp
|
2020-08-23 06:55:16 +03:00
|
|
|
Spreadsheet.cpp
|
|
|
|
SpreadsheetModel.cpp
|
|
|
|
SpreadsheetView.cpp
|
|
|
|
SpreadsheetWidget.cpp
|
2020-08-26 04:30:23 +03:00
|
|
|
Workbook.cpp
|
2020-08-23 06:55:16 +03:00
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
|
2021-03-21 20:08:08 +03:00
|
|
|
set(GENERATED_SOURCES
|
2021-03-20 13:30:49 +03:00
|
|
|
CSVExportGML.h
|
2021-03-21 20:08:08 +03:00
|
|
|
CSVImportGML.h
|
|
|
|
FormatSelectionPageGML.h
|
|
|
|
)
|
|
|
|
|
2020-12-20 21:26:09 +03:00
|
|
|
serenity_app(Spreadsheet ICON app-spreadsheet)
|
2022-02-10 02:00:13 +03:00
|
|
|
target_link_libraries(Spreadsheet LibFileSystemAccessClient LibGUI LibJS LibMain LibWeb)
|
2021-12-29 21:10:12 +03:00
|
|
|
link_with_unicode_data(Spreadsheet)
|
2021-04-25 08:53:23 +03:00
|
|
|
|
2021-04-29 05:30:58 +03:00
|
|
|
serenity_test(Writers/Test/TestXSVWriter.cpp Spreadsheet)
|
|
|
|
|
|
|
|
serenity_test(Readers/Test/TestXSV.cpp Spreadsheet)
|
|
|
|
target_sources(TestXSV PRIVATE Readers/XSV.cpp)
|