Warning, /utilities/kcalc/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2023 Gabriel Barrantes <gabriel.barrantes.dev@outlook.com> 0002 0003 # SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 add_definitions( -DKDESRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/" ) 0006 include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) 0007 0008 find_package(Qt${QT_MAJOR_VERSION}Test CONFIG REQUIRED) 0009 include(ECMAddTests) 0010 0011 ecm_add_test(kcalc_parser_core_test.cpp ../kcalc_parser.cpp ../kcalc_core.cpp ../kcalc_token.cpp ../kcalc_core_p.cpp ../stats.cpp 0012 TEST_NAME "kcalc_parser_core_test" 0013 LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Core 0014 Qt${QT_MAJOR_VERSION}::Test 0015 Qt${QT_MAJOR_VERSION}::Xml 0016 knumber 0017 ) 0018 0019 0020