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.
58 lines
1.4 KiB
58 lines
1.4 KiB
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
|
|
|
|
LIBS += -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi -lSDL2main -lSDL2 -lvk-bootstrap \
|
|
-L$$PWD/third_party/fmt/build -lfmt
|
|
|
|
SOURCES += \
|
|
HelloTriangleApplication.cpp \
|
|
VkDescriptors.cpp \
|
|
VkEngine.cpp \
|
|
VkImages.cpp \
|
|
VkInitializers.cpp \
|
|
VkLoader.cpp \
|
|
VkMain.cpp \
|
|
VkPipelines.cpp \
|
|
main.cpp
|
|
|
|
HEADERS += \
|
|
HelloTriangleApplication.h \
|
|
VkDescriptors.h \
|
|
VkEngine.h \
|
|
VkImages.h \
|
|
VkInitializers.h \
|
|
VkLoader.h \
|
|
VkMain.h \
|
|
VkPipelines.h \
|
|
VkTypes.h
|
|
|
|
DISTFILES += \
|
|
shaders/compile.sh \
|
|
shaders/frag.spv \
|
|
shaders/shader.frag \
|
|
shaders/shader.vert \
|
|
shaders/vert.spv
|
|
|
|
contains(ANDROID_TARGET_ARCH,arm64-v8a) {
|
|
QT +=
|
|
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
|
|
}
|
|
|