test(dobj_sandbox): added some sandbox code for testing dobj

This commit is contained in:
2025-01-20 07:49:35 -05:00
parent eabf0d62cf
commit 4a87aab0a9
3 changed files with 45 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
test_file = 'testDObject.cpp'
exe_name = test_file.split('.')[0]
executable(
exe_name,
test_file,
dependencies: gtest_dep,
include_directories: include_directories('../../src/dobj/public'),
link_with: libdobj, # Link the dobj library
install_rpath: '@loader_path/../../src' # Ensure runtime library path resolves correctly
)