Add CMake support

This commit is contained in:
Lars Toenning
2023-10-31 22:00:24 +01:00
parent 3ffb8f689b
commit 1deaeba584
94 changed files with 4864 additions and 248 deletions

14
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
add_library(tests_test INTERFACE test.h)
target_link_libraries(tests_test INTERFACE Qt::Core Qt::Test)
target_include_directories(tests_test INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(blackcore)
add_subdirectory(blackgui)
add_subdirectory(blackmisc)
if(SWIFT_BUILD_FSX_PLUGIN)
add_subdirectory(blacksimpluginfsxp3d)
endif()