diff options
Diffstat (limited to 'examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt')
-rw-r--r-- | examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt b/examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt new file mode 100644 index 0000000..771443e --- /dev/null +++ b/examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from frontend.pro. + +cmake_minimum_required(VERSION 3.14) +project(QtIviClimateExample 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}/ivicore/qface-ivi-climate") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS IviCore) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +) +set_target_properties(QtIviClimateExample PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) +target_compile_definitions(QtIviClimateExample PUBLIC + QT_BUILD_EXAMPLE_IVI_CLIMATE_LIB +) + +target_link_libraries(QtIviClimateExample PUBLIC + Qt::Core + Qt::Gui + Qt::IviCore + Qt::IviCorePrivate + Qt::Qml + Qt::Quick +) + +install(TARGETS QtIviClimateExample + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) |