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.

55 lines
1.8 KiB

1 month ago
QT +=
CONFIG += c++17
INCLUDEPATH += /usr/include/vulkan \
$$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
1 month ago
LIBS += -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi \
# -lSDL2main -lSDL2 -lvk-bootstrap \
# -L$$PWD/third_party/fmt/build -lfmt
1 month ago
SOURCES += \
VulkanTutorial1.0/ComputeAndGraphics.cpp \
1 month ago
main.cpp
HEADERS += \ \
VulkanTutorial1.0/ComputeAndGraphics.h \
VulkanTutorial1.0/Types.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
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
QT +=
1 month ago
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
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
}