mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
tests: update testqml to use shared register_qml_types()
add subsurface-helper.cpp to TestQML target remove local qmlRegisterType() and add register_qml_types() instead Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
f354592050
commit
d7fed0bcb7
2 changed files with 5 additions and 7 deletions
|
|
@ -77,7 +77,8 @@ add_definitions(-g)
|
|||
add_definitions(-DSUBSURFACE_TEST_DATA="${SUBSURFACE_TEST_DATA}")
|
||||
|
||||
# Build QML test runner
|
||||
add_executable(TestQML testqml.cpp )
|
||||
# add_executable demands relative path, therefore ../
|
||||
add_executable(TestQML testqml.cpp ../subsurface-helper.cpp )
|
||||
target_link_libraries(
|
||||
TestQML
|
||||
subsurface_corelib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue