-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfantastic-octree.pro
More file actions
32 lines (25 loc) · 873 Bytes
/
fantastic-octree.pro
File metadata and controls
32 lines (25 loc) · 873 Bytes
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
SHADERS = $$files(./src/shaders/*.glsl, true)
spirv.output = ${QMAKE_FILE_NAME}.spv
spirv.commands = glslangValidator -V --target-env vulkan1.1 ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT}
spirv.depends = $$SHADERS
spirv.input = SHADERS
spirv.variable_out = COMPILED_SHADERS
spirv.CONFIG = target_predeps
SOURCES = $$files(src/*.cpp, true)
HEADERS = $$files(src/*.h, true)
# install
target.path = build
target.depends = spirv
DESTDIR = bin #Target file directory
OBJECTS_DIR = build #Intermediate object files directory
MOC_DIR = build #Intermediate moc files directory
QMAKE_CXXFLAGS += -Wclass-memaccess
CONFIG += debug
QMAKE_EXTRA_COMPILERS += spirv
CONFIG += vulkan
CONFIG += exceptions
LIBS += -lvulkan
INCLUDEPATH += $$(VULKAN_SDK)/include
INCLUDEPATH += /home/paulhubert/VulkanSDK/1.1.92.1/x86_64/include
INCLUDEPATH += $$(VULKAN_SDK)/Include
INCLUDEPATH += D:/Qt