diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-02-17 17:34:35 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2021-05-10 17:28:11 +0200 |
commit | 8e3d637e7776638149119bd62f459178cbca2955 (patch) | |
tree | 077f7a597039a05555da2c2fe33c1535227dd35e /examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt | |
parent | eac2590d4266e234f0f2ec4d261d940b14dd79bf (diff) | |
download | qtivi-8e3d637e7776638149119bd62f459178cbca2955.tar.gz |
cmake integration of the ivigenerator
Rerun pro2cmake.py for all examples and tests.
Ivigenerator based tests and examples are compiling
fine, but the cmake files need to be reworked to be
also able to run them.
Task-number: AUTOSUITE-1633
Change-Id: Icb95ecfa62ecb319d042dc30ea9f643b69a4aacf
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt')
-rw-r--r-- | examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt b/examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt index c25aec6..b27c013 100644 --- a/examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt +++ b/examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt @@ -21,13 +21,12 @@ find_package(Qt6 COMPONENTS IviCore) find_package(Qt6 COMPONENTS Qml) find_package(Qt6 COMPONENTS Quick) -) -set_target_properties(QtIviAdressBookExample PROPERTIES - WIN32_EXECUTABLE TRUE - MACOSX_BUNDLE TRUE -) -target_compile_definitions(QtIviAdressBookExample PUBLIC - QT_BUILD_EXAMPLE_IVI_ADDRESSBOOK_LIB +add_library(QtIviAdressBookExample) + +# IVI Generator: +qt6_ivigenerator(QtIviAdressBookExample + QFACE_SOURCES ../example-ivi-addressbook.qface + QFACE_FORMAT frontend ) target_link_libraries(QtIviAdressBookExample PUBLIC |