Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 28 Lines | 6 | set(kitinerary_lib_srcs | |||
---|---|---|---|---|---|
29 | calendarhandler.cpp | 29 | calendarhandler.cpp | ||
30 | extractor.cpp | 30 | extractor.cpp | ||
31 | extractorengine.cpp | 31 | extractorengine.cpp | ||
32 | extractorfilter.cpp | 32 | extractorfilter.cpp | ||
33 | extractorpreprocessor.cpp | 33 | extractorpreprocessor.cpp | ||
34 | extractorpostprocessor.cpp | 34 | extractorpostprocessor.cpp | ||
35 | extractorrepository.cpp | 35 | extractorrepository.cpp | ||
36 | iatabcbpparser.cpp | 36 | iatabcbpparser.cpp | ||
37 | init.cpp | ||||
37 | jsonlddocument.cpp | 38 | jsonlddocument.cpp | ||
38 | jsonldimportfilter.cpp | 39 | jsonldimportfilter.cpp | ||
39 | mergeutil.cpp | 40 | mergeutil.cpp | ||
40 | pdfdocument.cpp | 41 | pdfdocument.cpp | ||
41 | sortutil.cpp | 42 | sortutil.cpp | ||
42 | structureddataextractor.cpp | 43 | structureddataextractor.cpp | ||
43 | uic9183parser.cpp | 44 | uic9183parser.cpp | ||
44 | ) | 45 | ) | ||
45 | qt5_add_resources(kitinerary_lib_srcs extractors/extractors.qrc) | 46 | qt5_add_resources(kitinerary_lib_srcs extractors/extractors.qrc) | ||
46 | ecm_qt_declare_logging_category(kitinerary_lib_srcs HEADER logging.h IDENTIFIER KItinerary::Log CATEGORY_NAME org.kde.kitinerary) | 47 | ecm_qt_declare_logging_category(kitinerary_lib_srcs HEADER logging.h IDENTIFIER KItinerary::Log CATEGORY_NAME org.kde.kitinerary) | ||
47 | kde_source_files_enable_exceptions(barcodedecoder.cpp) | 48 | kde_source_files_enable_exceptions(barcodedecoder.cpp) | ||
48 | 49 | | |||
49 | add_library(KPimItinerary SHARED ${kitinerary_lib_srcs}) | 50 | add_library(KPimItinerary ${kitinerary_lib_srcs}) | ||
lepagevalleeemmanuel: You *might* want to add
OPTION(BUILD_SHARED_LIBS "Build the shared library (instead of… | |||||
No need, extra-cmake-modules already sets it to TRUE if KDECMakeSettings is included. krop: No need, extra-cmake-modules already sets it to TRUE if KDECMakeSettings is included.
| |||||
Ok, thanks. So it's a "Ship it!" for my point of view (if it matter at all) lepagevalleeemmanuel: Ok, thanks. So it's a "Ship it!" for my point of view (if it matter at all) | |||||
50 | add_library(KPim::Itinerary ALIAS KPimItinerary) | 51 | add_library(KPim::Itinerary ALIAS KPimItinerary) | ||
51 | generate_export_header(KPimItinerary BASE_NAME KItinerary) | 52 | generate_export_header(KPimItinerary BASE_NAME KItinerary) | ||
52 | set_target_properties(KPimItinerary PROPERTIES | 53 | set_target_properties(KPimItinerary PROPERTIES | ||
53 | VERSION ${KITINERARY_VERSION_STRING} | 54 | VERSION ${KITINERARY_VERSION_STRING} | ||
54 | SOVERSION ${KITINERARY_SOVERSION} | 55 | SOVERSION ${KITINERARY_SOVERSION} | ||
55 | EXPORT_NAME Itinerary | 56 | EXPORT_NAME Itinerary | ||
56 | ) | 57 | ) | ||
57 | target_include_directories(KPimItinerary INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_PIM}>") | 58 | target_include_directories(KPimItinerary INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_PIM}>") | ||
Show All 26 Lines | 84 | HEADER_NAMES | |||
84 | BarcodeDecoder | 85 | BarcodeDecoder | ||
85 | CalendarHandler | 86 | CalendarHandler | ||
86 | Extractor | 87 | Extractor | ||
87 | ExtractorEngine | 88 | ExtractorEngine | ||
88 | ExtractorPreprocessor | 89 | ExtractorPreprocessor | ||
89 | ExtractorPostprocessor | 90 | ExtractorPostprocessor | ||
90 | ExtractorRepository | 91 | ExtractorRepository | ||
91 | IataBcbpParser | 92 | IataBcbpParser | ||
93 | Init | ||||
92 | JsonLdDocument | 94 | JsonLdDocument | ||
93 | MergeUtil | 95 | MergeUtil | ||
94 | PdfDocument | 96 | PdfDocument | ||
95 | SortUtil | 97 | SortUtil | ||
96 | StructuredDataExtractor | 98 | StructuredDataExtractor | ||
97 | Uic9183Parser | 99 | Uic9183Parser | ||
98 | PREFIX KItinerary | 100 | PREFIX KItinerary | ||
99 | REQUIRED_HEADERS KItinerary_HEADERS | 101 | REQUIRED_HEADERS KItinerary_HEADERS | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |
You *might* want to add
near the top of the CMakeLists.txt for the sake of making sure it's the default and for readability?