Test Vulkan code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.1 KiB

QT += core xml gui
1 month ago
CONFIG += c++17
INCLUDEPATH += \
$$PWD/third_party \
# $$PWD/third_party/vkbootstrap \
# $$PWD/third_party/vkbootstrap/build \
# $$PWD/third_party/fmt/include \
# $$PWD/third_party/SDL/build/include/SDL2 \
# $$PWD/third_party/SDL/build/include-config-/SDL2 \
# $$PWD/third_party/fmt/build
LIBS += \
# -L$$PWD/third_party/pugixml/build -lpugixml \
# -lSDL2main -lSDL2 -lvk-bootstrap \
# -L$$PWD/third_party/fmt/build -lfmt
1 month ago
SOURCES += \
VulkanTutorial1.0/ComputeAndGraphics.cpp \
VulkanTutorial1.0/VulkanWindow.cpp \
1 month ago
main.cpp
HEADERS += \
VulkanTutorial1.0/ComputeAndGraphics.h \
VulkanTutorial1.0/Types.h \
VulkanTutorial1.0/VulkanWindow.h
1 month ago
DISTFILES += \
shaders/VulkanTutorial1.0/ComputeAndGraphics/compComp.spv \
shaders/VulkanTutorial1.0/ComputeAndGraphics/compile.sh \
shaders/VulkanTutorial1.0/ComputeAndGraphics/fragComp.spv \
shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.comp \
shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.frag \
shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.vert \
shaders/VulkanTutorial1.0/ComputeAndGraphics/vertComp.spv \
shaders/VulkanTutorial1.0/HelloTriangle/compile.sh \
shaders/VulkanTutorial1.0/HelloTriangle/frag.spv \
shaders/VulkanTutorial1.0/HelloTriangle/shader.frag \
shaders/VulkanTutorial1.0/HelloTriangle/shader.vert \
shaders/VulkanTutorial1.0/HelloTriangle/vert.spv
1 month ago
android {
QT += \
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
INCLUDEPATH += \
LIBS += -landroid -llog
DEFINES += VK_USE_PLATFORM_ANDROID_KHR
OTHER_FILES += android/src/Vulkan \
android/AndroidManifest.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat \
android/res/values/libs.xml
1 month ago
}
linux64 {
QT += x11extrass
LIBS += \
-lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi \
-lvulkan \
INCLUDEPATH += \
/usr/include/vulkan \
}