summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/advancedcustommaterial
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-03-21 18:28:41 +0100
committerKai Koehne <kai.koehne@qt.io>2022-03-22 14:32:43 +0000
commit754fad1ba8d7a5dd2a9462224efd19282ae3a52e (patch)
tree1c7a749941ebd146995e173f7166ef130f289df4 /examples/qt3d/advancedcustommaterial
parentd157e4d0c47d3dc07204e4a81c4e4ab6b77fd278 (diff)
Remove .prev_CMakeLists.txt
These are leftovers from the qmake conversion. Pick-to: 6.3 Change-Id: Id80e21ed99bd67b1d05586f596a9585526d47e7e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/qt3d/advancedcustommaterial')
-rw-r--r--examples/qt3d/advancedcustommaterial/.prev_CMakeLists.txt97
1 files changed, 0 insertions, 97 deletions
diff --git a/examples/qt3d/advancedcustommaterial/.prev_CMakeLists.txt b/examples/qt3d/advancedcustommaterial/.prev_CMakeLists.txt
deleted file mode 100644
index b4afe14f5..000000000
--- a/examples/qt3d/advancedcustommaterial/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,97 +0,0 @@
-# Generated from advancedcustommaterial.pro.
-
-cmake_minimum_required(VERSION 3.14)
-project(advancedcustommaterial LANGUAGES CXX)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(CMAKE_AUTOMOC ON)
-set(CMAKE_AUTORCC ON)
-set(CMAKE_AUTOUIC ON)
-
-if(NOT DEFINED INSTALL_EXAMPLESDIR)
- set(INSTALL_EXAMPLESDIR "examples")
-endif()
-
-set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}")
-
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
-find_package(Qt6 COMPONENTS Qml)
-find_package(Qt6 COMPONENTS Quick)
-
-qt_add_executable(advancedcustommaterial
- main.cpp
-)
-set_target_properties(advancedcustommaterial PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-target_link_libraries(advancedcustommaterial PUBLIC
- Qt::Core
- Qt::Gui
- Qt::Qml
- Qt::Quick
-)
-
-
-# Resources:
-set(qml_resource_files
- "SceneRoot.qml"
- "Water.qml"
- "WaterMaterial.qml"
- "main.qml"
-)
-
-qt6_add_resources(advancedcustommaterial "qml"
- PREFIX
- "/"
- FILES
- ${qml_resource_files}
-)
-set(models_resource_files
- "models/waterPlane.obj"
-)
-
-qt6_add_resources(advancedcustommaterial "models"
- PREFIX
- "/"
- FILES
- ${models_resource_files}
-)
-set(textures_resource_files
- "textures/WaterDiffuse.jpg"
- "textures/WaterNormal.jpg"
- "textures/WaterSpecular.jpg"
- "textures/Waterwave.jpg"
- "textures/foam.jpg"
- "textures/sky.jpg"
-)
-
-qt6_add_resources(advancedcustommaterial "textures"
- PREFIX
- "/"
- FILES
- ${textures_resource_files}
-)
-set(shaders_resource_files
- "shaders/es2/water.frag"
- "shaders/es2/water.vert"
- "shaders/gl3/water.frag"
- "shaders/gl3/water.vert"
- "shaders/rhi/water.frag"
- "shaders/rhi/water.vert"
-)
-
-qt6_add_resources(advancedcustommaterial "shaders"
- PREFIX
- "/"
- FILES
- ${shaders_resource_files}
-)
-
-install(TARGETS advancedcustommaterial
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
-)