diff options
Diffstat (limited to 'examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt')
-rw-r--r-- | examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt index 92b465b..9f4e36a 100644 --- a/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt +++ b/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt @@ -21,22 +21,22 @@ find_package(Qt6 COMPONENTS IviCore) find_package(Qt6 COMPONENTS Qml) find_package(Qt6 COMPONENTS Quick) -qt_add_executable(QtIviInstrumentCluster) +add_library(QtIviInstrumentCluster_Chapter4) # IVI Generator: -qt6_ivigenerator(QtIviInstrumentCluster +qt6_ivigenerator(QtIviInstrumentCluster_Chapter4 QFACE_SOURCES ../instrument-cluster.qface QFACE_FORMAT frontend ) -set_target_properties(QtIviInstrumentCluster PROPERTIES +set_target_properties(QtIviInstrumentCluster_Chapter4 PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) -target_compile_definitions(QtIviInstrumentCluster PUBLIC +target_compile_definitions(QtIviInstrumentCluster_Chapter4 PUBLIC QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB ) -target_link_libraries(QtIviInstrumentCluster PUBLIC +target_link_libraries(QtIviInstrumentCluster_Chapter4 PUBLIC Qt::Core Qt::Gui Qt::IviCore @@ -45,7 +45,7 @@ target_link_libraries(QtIviInstrumentCluster PUBLIC Qt::Quick ) -install(TARGETS QtIviInstrumentCluster +install(TARGETS QtIviInstrumentCluster_Chapter4 RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" |