Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Context not available. | |||||
47 | find_package(Perl REQUIRED) | 47 | find_package(Perl REQUIRED) | ||
---|---|---|---|---|---|
48 | set_package_properties(Perl PROPERTIES PURPOSE "Auto-generate PHP syntax definition files.") | 48 | set_package_properties(Perl PROPERTIES PURPOSE "Auto-generate PHP syntax definition files.") | ||
49 | 49 | | |||
50 | # | ||||
51 | # allow to install the "differently" licensed syntax xml files instead of putting them in a QRC and link them in | ||||
52 | # | ||||
53 | option(QRC_SYNTAX "Bundle the syntax definition files inside the library as resources" ON) | ||||
54 | add_feature_info(SYNTAX_RESOURCE ${QRC_SYNTAX} "Bundle the syntax definition files inside the library as resources") | ||||
50 | 55 | | |||
51 | # | 56 | # | ||
52 | # API documentation | 57 | # API documentation | ||
Context not available. | |||||
61 | ecm_install_po_files_as_qm(po) | 66 | ecm_install_po_files_as_qm(po) | ||
62 | endif() | 67 | endif() | ||
63 | 68 | | |||
69 | # tell the framework if it shall use the syntax files from the resource | ||||
70 | if (QRC_SYNTAX) | ||||
71 | add_definitions(-DHAS_SYNTAX_RESOURCE) | ||||
72 | endif() | ||||
73 | | ||||
64 | # | 74 | # | ||
65 | # Actually build the stuff | 75 | # Actually build the stuff | ||
66 | # | 76 | # | ||
Context not available. |