Added a telemetry module
This commit is contained in:
parent
6f28a2b4a6
commit
b258e99056
1 changed files with 46 additions and 0 deletions
46
telemetry/CMakeLists.txt
Normal file
46
telemetry/CMakeLists.txt
Normal file
|
@ -0,0 +1,46 @@
|
|||
#=============================================================================
|
||||
# MuseScore
|
||||
# Music Composition & Notation
|
||||
#
|
||||
# Copyright (C) 2019 MuseScore BVBA and others
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#=============================================================================
|
||||
get_filename_component(DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
||||
message("Configuring " ${DIR_NAME})
|
||||
|
||||
find_package(Qt5 COMPONENTS Core Gui REQUIRED CONFIG)
|
||||
add_definitions(
|
||||
${Qt5Core_DEFINITIONS}
|
||||
${Qt5Gui_DEFINITIONS}
|
||||
)
|
||||
include_directories(
|
||||
${Qt5Core_INCLUDE_DIRS}
|
||||
${Qt5Gui_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/thirdparty
|
||||
${PROJECT_SOURCE_DIR}/mscore
|
||||
${PROJECT_SOURCE_DIR}/global
|
||||
)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
set(LIBRARY_TYPE STATIC)
|
||||
|
||||
file(GLOB_RECURSE telemetry_SOURCES RELATIVE ${CMAKE_CURRENT_LIST_DIR} *.cpp)
|
||||
file(GLOB_RECURSE telemetry_HEADERS RELATIVE ${CMAKE_CURRENT_LIST_DIR} *.h)
|
||||
|
||||
qt5_add_resources(RCC_SOURCES telemetry_resources.qrc)
|
||||
|
||||
add_library(telemetry ${LIBRARY_TYPE} ${telemetry_SOURCES} ${telemetry_HEADERS} ${RCC_SOURCES})
|
||||
target_link_libraries(telemetry global google_analytics)
|
Loading…
Reference in a new issue