Warning, /frameworks/knewstuff/autotests/core/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: Alexander Lohnau <alexander.lohnau@gmx.de> 0002 # SPDX-License-Identifier: BSD-2-Clause 0003 0004 if (WIN32) 0005 set(DATA_DIR "/${CMAKE_CURRENT_BINARY_DIR}/data/") 0006 else() 0007 set(DATA_DIR "${CMAKE_CURRENT_BINARY_DIR}/data/") 0008 endif() 0009 configure_file(data/entry.xml.in data/entry.xml) 0010 configure_file(data/provider.xml.in data/provider.xml) 0011 configure_file(data/enginetest.knsrc.in data/enginetest.knsrc) 0012 configure_file(data/installationtest.knsrc.in data/installationtest.knsrc) 0013 0014 knewstuff_unit_tests( 0015 knewstuffauthortest.cpp 0016 knewstuffenginetest.cpp 0017 installationtest.cpp 0018 ) 0019 0020 target_link_libraries(knewstuffenginetest knewstuff_qml_STATIC)