mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 07:37:24 +00:00
CMake: Add support for LIBRARY_PATHS to slint_target_sources
This makes it possible to use component libraries with C++.
This commit is contained in:
parent
b9052ecf8a
commit
6f2a6c3f09
8 changed files with 62 additions and 6 deletions
10
api/cpp/tests/libraries/main.cpp
Normal file
10
api/cpp/tests/libraries/main.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
||||
|
||||
#include "appwindow.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
auto my_ui = App::create();
|
||||
my_ui->run();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue