build(opatIO): broke opatIO out into a seperate module
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -63,6 +63,7 @@ subprojects/tetgen/
|
||||
subprojects/yaml-cpp/
|
||||
subprojects/quill/
|
||||
subprojects/googletest-1.15.2/
|
||||
subprojects/opat-core/
|
||||
|
||||
.vscode/
|
||||
|
||||
|
||||
@@ -4,3 +4,4 @@ subdir('mfem')
|
||||
subdir('yaml-cpp')
|
||||
subdir('quill')
|
||||
subdir('boost')
|
||||
subdir('opatIO')
|
||||
|
||||
2
build-config/opatIO/meson.build
Normal file
2
build-config/opatIO/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
opatio_dep = dependency('opatio', fallback: ['opat-core', 'opatio_dep'])
|
||||
|
||||
@@ -11,7 +11,7 @@ subdir('dobj')
|
||||
|
||||
# Asset Libraries
|
||||
subdir('eos')
|
||||
subdir('opatIO')
|
||||
# subdir('opatIO')
|
||||
subdir('meshIO')
|
||||
|
||||
# Resouce Manager Libraries
|
||||
|
||||
8
subprojects/opat-core.wrap
Normal file
8
subprojects/opat-core.wrap
Normal file
@@ -0,0 +1,8 @@
|
||||
[wrap-git]
|
||||
url = https://github.com/4D-STAR/opat-core
|
||||
revision = main
|
||||
depth = 1
|
||||
|
||||
|
||||
[provide]
|
||||
dependency_names = opatio_dep
|
||||
@@ -13,9 +13,7 @@ foreach test_file : test_sources
|
||||
test_exe = executable(
|
||||
exe_name,
|
||||
test_file,
|
||||
dependencies: [gtest_dep, picosha2_dep, gtest_main],
|
||||
include_directories: include_directories('../../src/opatIO/public'),
|
||||
link_with: libopatIO, # Link the dobj library
|
||||
dependencies: [gtest_dep, picosha2_dep, gtest_main, opatio_dep],
|
||||
install_rpath: '@loader_path/../../src' # Ensure runtime library path resolves correctly
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user