diff options
Diffstat (limited to 'examples/embedded')
-rw-r--r-- | examples/embedded/CMakeLists.txt | 8 | ||||
-rw-r--r-- | examples/embedded/digiflip/CMakeLists.txt | 31 | ||||
-rw-r--r-- | examples/embedded/flickable/CMakeLists.txt | 32 | ||||
-rw-r--r-- | examples/embedded/flightinfo/.prev_CMakeLists.txt | 47 | ||||
-rw-r--r-- | examples/embedded/flightinfo/CMakeLists.txt | 47 | ||||
-rw-r--r-- | examples/embedded/lightmaps/CMakeLists.txt | 36 | ||||
-rw-r--r-- | examples/embedded/raycasting/CMakeLists.txt | 44 | ||||
-rw-r--r-- | examples/embedded/styleexample/.prev_CMakeLists.txt | 52 | ||||
-rw-r--r-- | examples/embedded/styleexample/CMakeLists.txt | 52 |
9 files changed, 349 insertions, 0 deletions
diff --git a/examples/embedded/CMakeLists.txt b/examples/embedded/CMakeLists.txt new file mode 100644 index 0000000000..bd7720809a --- /dev/null +++ b/examples/embedded/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from embedded.pro. + +add_subdirectory(styleexample) +add_subdirectory(raycasting) +add_subdirectory(flickable) +add_subdirectory(digiflip) +add_subdirectory(lightmaps) +add_subdirectory(flightinfo) diff --git a/examples/embedded/digiflip/CMakeLists.txt b/examples/embedded/digiflip/CMakeLists.txt new file mode 100644 index 0000000000..cfad2a7c7b --- /dev/null +++ b/examples/embedded/digiflip/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from digiflip.pro. + +cmake_minimum_required(VERSION 3.14) +project(digiflip LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/digiflip") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(digiflip + digiflip.cpp +) +target_link_libraries(digiflip PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + +install(TARGETS digiflip + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/flickable/CMakeLists.txt b/examples/embedded/flickable/CMakeLists.txt new file mode 100644 index 0000000000..bae3146723 --- /dev/null +++ b/examples/embedded/flickable/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from flickable.pro. + +cmake_minimum_required(VERSION 3.14) +project(flickable LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/flickable") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(flickable + flickable.cpp flickable.h + main.cpp +) +target_link_libraries(flickable PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + +install(TARGETS flickable + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/flightinfo/.prev_CMakeLists.txt b/examples/embedded/flightinfo/.prev_CMakeLists.txt new file mode 100644 index 0000000000..f7898e8ed8 --- /dev/null +++ b/examples/embedded/flightinfo/.prev_CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from flightinfo.pro. + +cmake_minimum_required(VERSION 3.14) +project(flightinfo LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/flightinfo") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Network) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(flightinfo + flightinfo.cpp + form.ui +) +target_link_libraries(flightinfo PUBLIC + Qt::Core + Qt::Gui + Qt::Network + Qt::Widgets +) + + +# Resources: +set(flightinfo_resource_files + "aircraft.png" +) + +qt6_add_resources(flightinfo "flightinfo" + PREFIX + "/" + FILES + ${flightinfo_resource_files} +) + +install(TARGETS flightinfo + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/flightinfo/CMakeLists.txt b/examples/embedded/flightinfo/CMakeLists.txt new file mode 100644 index 0000000000..f7898e8ed8 --- /dev/null +++ b/examples/embedded/flightinfo/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from flightinfo.pro. + +cmake_minimum_required(VERSION 3.14) +project(flightinfo LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/flightinfo") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Network) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(flightinfo + flightinfo.cpp + form.ui +) +target_link_libraries(flightinfo PUBLIC + Qt::Core + Qt::Gui + Qt::Network + Qt::Widgets +) + + +# Resources: +set(flightinfo_resource_files + "aircraft.png" +) + +qt6_add_resources(flightinfo "flightinfo" + PREFIX + "/" + FILES + ${flightinfo_resource_files} +) + +install(TARGETS flightinfo + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/lightmaps/CMakeLists.txt b/examples/embedded/lightmaps/CMakeLists.txt new file mode 100644 index 0000000000..641f75c3c8 --- /dev/null +++ b/examples/embedded/lightmaps/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from lightmaps.pro. + +cmake_minimum_required(VERSION 3.14) +project(lightmaps LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/lightmaps") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Network) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(lightmaps + lightmaps.cpp lightmaps.h + main.cpp + mapzoom.cpp mapzoom.h + slippymap.cpp slippymap.h +) +target_link_libraries(lightmaps PUBLIC + Qt::Core + Qt::Gui + Qt::Network + Qt::Widgets +) + +install(TARGETS lightmaps + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/raycasting/CMakeLists.txt b/examples/embedded/raycasting/CMakeLists.txt new file mode 100644 index 0000000000..86a3042f86 --- /dev/null +++ b/examples/embedded/raycasting/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from raycasting.pro. + +cmake_minimum_required(VERSION 3.14) +project(raycasting LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/raycasting") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(raycasting + raycasting.cpp +) +target_link_libraries(raycasting PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + + +# Resources: +set(raycasting_resource_files + "textures.png" +) + +qt6_add_resources(raycasting "raycasting" + PREFIX + "/" + FILES + ${raycasting_resource_files} +) + +install(TARGETS raycasting + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/styleexample/.prev_CMakeLists.txt b/examples/embedded/styleexample/.prev_CMakeLists.txt new file mode 100644 index 0000000000..ac03e58346 --- /dev/null +++ b/examples/embedded/styleexample/.prev_CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from styleexample.pro. + +cmake_minimum_required(VERSION 3.14) +project(styleexample LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/styleexample") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(styleexample + main.cpp + stylewidget.cpp stylewidget.h stylewidget.ui +) +target_link_libraries(styleexample PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + + +# Resources: +set(styleexample_resource_files + "files/add.png" + "files/application.qss" + "files/blue.qss" + "files/khaki.qss" + "files/nature_1.jpg" + "files/nostyle.qss" + "files/remove.png" + "files/transparent.qss" +) + +qt6_add_resources(styleexample "styleexample" + PREFIX + "/" + FILES + ${styleexample_resource_files} +) + +install(TARGETS styleexample + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/embedded/styleexample/CMakeLists.txt b/examples/embedded/styleexample/CMakeLists.txt new file mode 100644 index 0000000000..ac03e58346 --- /dev/null +++ b/examples/embedded/styleexample/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from styleexample.pro. + +cmake_minimum_required(VERSION 3.14) +project(styleexample LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples/embedded/styleexample") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(styleexample + main.cpp + stylewidget.cpp stylewidget.h stylewidget.ui +) +target_link_libraries(styleexample PUBLIC + Qt::Core + Qt::Gui + Qt::Widgets +) + + +# Resources: +set(styleexample_resource_files + "files/add.png" + "files/application.qss" + "files/blue.qss" + "files/khaki.qss" + "files/nature_1.jpg" + "files/nostyle.qss" + "files/remove.png" + "files/transparent.qss" +) + +qt6_add_resources(styleexample "styleexample" + PREFIX + "/" + FILES + ${styleexample_resource_files} +) + +install(TARGETS styleexample + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) |