mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Add ComponentCompiler::build_from_path
This commit is contained in:
parent
fd9d154b27
commit
9eecdefb35
5 changed files with 57 additions and 0 deletions
|
@ -136,6 +136,9 @@ if(BUILD_TESTING)
|
|||
|
||||
add_executable(api_tests tests/tests.cpp)
|
||||
target_link_libraries(api_tests PRIVATE SixtyFPS Catch2::Catch2)
|
||||
target_compile_definitions(api_tests PRIVATE
|
||||
SOURCE_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}/\"
|
||||
)
|
||||
add_test(api_tests ${CMAKE_CURRENT_BINARY_DIR}/api_tests)
|
||||
# Somehow the wrong relative rpath ends up in the binary, requiring us to change the
|
||||
# working directory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue