blob: 9663ef50813d5dd06ca25a3efb5fe74149b85f71 (
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
|
add_qtc_plugin(Lua
PLUGIN_DEPENDS Core
PUBLIC_DEPENDS lua546 sol2
PUBLIC_DEFINES LUA_AVAILABLE
SOURCES
bindings/action.cpp
bindings/async.cpp
bindings/core.cpp
bindings/fetch.cpp
bindings/hook.cpp
bindings/inheritance.h
bindings/layout.cpp
bindings/messagemanager.cpp
bindings/qtcprocess.cpp
bindings/settings.cpp
bindings/utils.cpp
luaengine.cpp
luaengine.h
luaplugin.cpp
luapluginspec.cpp
luapluginspec.h
luaqttypes.cpp
luaqttypes.h
luatr.h
# generateqtbindings.cpp # Use this if you need to generate some code.
)
set_source_files_properties(luauibindings.cpp PROPERTY SKIP_AUTOMOC ON PROPERTY SKIP_AUTOGEN ON)
if (MSVC)
# Prevent fatal error C1128
set_property(SOURCE bindings/settings.cpp PROPERTY COMPILE_FLAGS /bigobj)
endif()
|