-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
88 lines (84 loc) · 1.81 KB
/
CMakeLists.txt
File metadata and controls
88 lines (84 loc) · 1.81 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
qt_add_library(scratchcpp-render SHARED)
set_target_properties(scratchcpp-render PROPERTIES AUTOMOC ON)
qt_add_qml_module(scratchcpp-render
URI ScratchCPP.Render
VERSION 1.0
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ScratchCPP/Render
QML_FILES
ProjectPlayer.qml
RESOURCES
internal/ValueMonitor.qml
internal/MonitorSlider.qml
internal/ListMonitor.qml
internal/TextBubble.qml
internal/Question.qml
shaders/sprite.vert
shaders/sprite.frag
icons/enter.svg
SOURCES
global.h
global_functions.cpp
projectloader.cpp
projectloader.h
projectscene.cpp
projectscene.h
targetmodel.cpp
targetmodel.h
stagemodel.cpp
stagemodel.h
spritemodel.cpp
spritemodel.h
monitormodel.cpp
monitormodel.h
valuemonitormodel.cpp
valuemonitormodel.h
listmonitormodel.cpp
listmonitormodel.h
listmonitorlistmodel.cpp
listmonitorlistmodel.h
irenderedtarget.h
texture.cpp
texture.h
skin.cpp
skin.h
bitmapskin.cpp
bitmapskin.h
svgskin.cpp
svgskin.h
renderedtarget.cpp
renderedtarget.h
targetpainter.cpp
targetpainter.h
scenemousearea.cpp
scenemousearea.h
mouseeventhandler.cpp
mouseeventhandler.h
keyeventhandler.cpp
keyeventhandler.h
ipenlayer.h
penlayer.cpp
penlayer.h
penlayerpainter.cpp
penlayerpainter.h
penattributes.h
penstate.h
shadermanager.cpp
shadermanager.h
graphicseffect.cpp
graphicseffect.h
textbubbleshape.cpp
textbubbleshape.h
textbubblepainter.cpp
textbubblepainter.h
cputexturemanager.cpp
cputexturemanager.h
effecttransform.cpp
effecttransform.h
)
target_sources(scratchcpp-render
PRIVATE
blocks/penblocks.cpp
blocks/penblocks.h)
list(APPEND QML_IMPORT_PATH ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
list(REMOVE_DUPLICATES QML_IMPORT_PATH)
set(QML_IMPORT_PATH ${QML_IMPORT_PATH} CACHE STRING "" FORCE)