Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « TestCrypt « tests « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 302e8a2627045111d9dcb2becc7865d8f8e88a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2019-2020 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.

add_executable(TestCrypt TestCrypt.cpp)

set_target_properties(TestCrypt PROPERTIES AUTOMOC ON)

get_target_property(MURMUR_SOURCE_DIR murmur SOURCE_DIR)

target_include_directories(TestCrypt PRIVATE ${MURMUR_SOURCE_DIR})

target_link_libraries(TestCrypt PRIVATE shared Qt5::Test)

add_test(NAME TestCrypt COMMAND $<TARGET_FILE:TestCrypt>)