mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-26 21:34:08 +00:00

* [autofix.ci] apply automated fixes * Update demos/usecases/esp-idf/README.md Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev> * Update demos/usecases/esp-idf/rust-toolchain.toml Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
15 lines
432 B
CMake
15 lines
432 B
CMake
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
cmake_minimum_required(VERSION 3.21)
|
|
project(slint_cpp_usecases LANGUAGES CXX)
|
|
|
|
if (NOT TARGET Slint::Slint)
|
|
find_package(Slint REQUIRED)
|
|
endif()
|
|
|
|
set(SLINT_STYLE "cosmic-light" CACHE STRING "Style for demo" FORCE)
|
|
|
|
add_executable(usecases main.cpp)
|
|
target_link_libraries(usecases PRIVATE Slint::Slint)
|
|
slint_target_sources(usecases ../ui/app.slint)
|