qt-wgpu-skel/CMakeLists.txt
numzero 9742916bd6 move ui/impl.cmake to src/
Now that there is no separate UI-specific wrapper, it belongs to the implementation rather than to the UI, probably
2026-10-27 19:18:23 +03:00

18 lines
441 B
CMake

cmake_minimum_required(VERSION 3.18...4.2)
project(PROJECT-NAME VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Gui Widgets)
find_program(CARGO cargo REQUIRED)
set(CARGO_TARGET_DIR "${CMAKE_SOURCE_DIR}/target" CACHE PATH "Path to the Cargo target directory")
include(diplomat.cmake)
qt_standard_project_setup()
add_subdirectory(src)
add_subdirectory(ui)