Warning, /libraries/atcore/testclient/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: AtCore Authors 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 set(CMAKE_INCLUDE_CURRENT_DIR ON) 0005 set(CMAKE_AUTORCC ON) 0006 set(CMAKE_AUTOUIC ON) 0007 0008 include_directories(../src) 0009 include_directories(${CMAKE_CURRENT_BINARY_DIR}) 0010 0011 set(AtCoreTestClient_SRCS 0012 main.cpp 0013 mainwindow.cpp 0014 ) 0015 0016 ecm_create_qm_loader(AtCoreTestClient_SRCS atcore_qt) 0017 0018 if (NOT APPLE) 0019 add_executable(atcore-gui ${AtCoreTestClient_SRCS} icons.qrc) 0020 install(TARGETS atcore-gui RUNTIME DESTINATION bin) 0021 install(FILES 0022 "${CMAKE_CURRENT_SOURCE_DIR}/atcore-gui.png" 0023 DESTINATION share/pixmaps 0024 ) 0025 install(FILES 0026 "${CMAKE_CURRENT_SOURCE_DIR}/org.kde.atcore.desktop" 0027 DESTINATION share/applications 0028 ) 0029 install(FILES org.kde.atcore.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 0030 else() 0031 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11") 0032 set(MACOSX_BUNDLE_DISPLAY_NAME "atcore-gui") 0033 set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.AtCore") 0034 set(MACOSX_BUNDLE_BUNDLE_NAME "atcore-gui") 0035 set(MACOSX_BUNDLE_DISPLAY_NAME "atcore-gui") 0036 set(MACOSX_BUNDLE_ICON_FILE atcore-gui.icns) 0037 set(MACOSX_BUNDLE_INFO_STRING "AtCore - Test Client") 0038 set(MACOSX_BUNDLE_COPYRIGHT "2016-2017 The AtCore Authors") 0039 set(APPICON ${CMAKE_CURRENT_SOURCE_DIR}/atcore-gui.icns) 0040 set_source_files_properties(${APPICON} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") 0041 add_executable(atcore-gui MACOSX_BUNDLE ${AtCoreTestClient_SRCS} icons.qrc ${APPICON}) 0042 install(TARGETS atcore-gui BUNDLE DESTINATION bin) 0043 endif() 0044 0045 target_link_libraries(atcore-gui AtCore::AtCoreWidgets AtCore::AtCore Qt::Widgets Qt::Charts)