Warning, /maui/bonsai/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories(${LIBGIT2_INCLUDE_DIR} ${LIBQGIT2_INCLUDE_DIR})
0002 
0003 set(bonsai_SRCS
0004     main.cpp
0005     controllers/project.cpp
0006     controllers/projectmanager.cpp
0007     controllers/branchesmanager.cpp
0008     controllers/actionrunner.cpp
0009     models/projectsmodel.cpp
0010     assets.qrc)
0011 
0012 if(QUICK_COMPILER)
0013     qtquick_compiler_add_resources(bonsai_QML_QRC qml.qrc)
0014 else()
0015     qt5_add_resources(bonsai_QML_QRC qml.qrc)
0016 endif()
0017 
0018 add_executable(${PROJECT_NAME}
0019     ${bonsai_SRCS}
0020     ${bonsai_QML_QRC})
0021 
0022 target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
0023 
0024 target_link_libraries(${PROJECT_NAME}
0025     MauiKit3
0026     MauiKit3::FileBrowsing
0027     Qt5::Widgets
0028     Qt5::Quick
0029     Qt5::Core
0030     Qt5::Concurrent
0031     KF5::CoreAddons
0032     KF5::I18n
0033     libkommit_bonsai)
0034 
0035 install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0036 
0037 install(FILES assets/bonsai.svg DESTINATION ${KDE_INSTALL_ICONDIR}/hicolor/scalable/apps)