blob: c3e7d02108a9129df9645146442a5a1a23c1bb08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#####################################################################
## qscxmlc Tool:
#####################################################################
qt_internal_include_in_repo_target_set(qtscxml)
qt_get_tool_target_name(target_name qscxmlc)
qt_internal_add_tool(${target_name}
TOOLS_TARGET Scxml
INSTALL_DIR "${INSTALL_LIBEXECDIR}"
SOURCES
../../src/scxml/qscxmlcompiler.cpp ../../src/scxml/qscxmlcompiler.h ../../src/scxml/qscxmlcompiler_p.h
../../src/scxml/qscxmlerror.cpp ../../src/scxml/qscxmlerror.h
../../src/scxml/qscxmlexecutablecontent.cpp ../../src/scxml/qscxmlexecutablecontent.h ../../src/scxml/qscxmlexecutablecontent_p.h
../../src/scxml/qscxmlglobals.h
../../src/scxml/qscxmltabledata.cpp ../../src/scxml/qscxmltabledata.h
generator.cpp generator.h
main.cpp
moc.h
outputrevision.h
qscxmlc.cpp qscxmlc.h
scxmlcppdumper.cpp scxmlcppdumper.h
utils.h
DEFINES
BUILD_QSCXMLC
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
INCLUDE_DIRECTORIES
$<TARGET_PROPERTY:Qt::Scxml,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:Qt::ScxmlPrivate,INTERFACE_INCLUDE_DIRECTORIES>
LIBRARIES
Qt::CorePrivate
)
qt_internal_return_unless_building_tools()
set_property(SOURCE ../../src/scxml/qscxmlerror.h PROPERTY SKIP_AUTOMOC ON)
set_property(SOURCE ../../src/scxml/qscxmlcompiler.cpp PROPERTY SKIP_AUTOMOC ON)
# Resources:
set(templates_resource_files
"cppdatamodel.t"
"data.t"
"decl.t"
)
qt_internal_add_resource(${target_name} "templates"
PREFIX
"/"
FILES
${templates_resource_files}
OPTIONS --no-compress
)
#### Keys ignored in scope 1:.:.:qscxmlc.pro:<TRUE>:
# _OPTION = "host_build"
|