C++: fix including the generated file in several translation units

This commit is contained in:
Olivier Goffart 2023-02-17 15:25:02 +01:00 committed by Olivier Goffart
parent 155b1443e2
commit 81cb89d374
8 changed files with 76 additions and 1 deletions

View 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)