gtest_main was leading to multiple definitions of main in the sandbox test and was not needed.
10 lines
332 B
Meson
10 lines
332 B
Meson
test_file = 'testDObject.cpp'
|
|
exe_name = test_file.split('.')[0]
|
|
executable(
|
|
exe_name,
|
|
test_file,
|
|
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
|
|
)
|