mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
C++: fix including the generated file in several translation units
This commit is contained in:
parent
155b1443e2
commit
81cb89d374
8 changed files with 76 additions and 1 deletions
7
api/cpp/tests/multiple-includes/CMakeLists.txt
Normal file
7
api/cpp/tests/multiple-includes/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
||||
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
||||
|
||||
add_executable(multiple-includes main.cpp logic.cpp)
|
||||
target_link_libraries(multiple-includes PRIVATE Slint::Slint)
|
||||
slint_target_sources(multiple-includes appwindow.slint)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue