Add nihstro submodule

Enabled only during testing to help with assembling shaders in-code.
This commit is contained in:
Wunkolo 2024-03-11 13:22:08 -07:00
parent 4b6266e3f2
commit 2cfcd8f639
No known key found for this signature in database
3 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View file

@ -61,3 +61,6 @@
[submodule "third_party/dynarmic"]
path = third_party/dynarmic
url = https://github.com/Panda3DS-emu/dynarmic
[submodule "third_party/nihstro"]
path = third_party/nihstro
url = https://github.com/neobrain/nihstro.git

View file

@ -524,7 +524,11 @@ endif()
if(ENABLE_TESTS)
enable_testing()
find_package(Catch2 3 REQUIRED)
add_library(nihstro-headers INTERFACE)
target_include_directories(nihstro-headers SYSTEM INTERFACE ./third_party/nihstro/include)
add_executable(AlberTests
tests/dynapica.cpp
)
@ -533,6 +537,7 @@ if(ENABLE_TESTS)
PRIVATE
Catch2::Catch2WithMain
AlberCore
nihstro-headers
)
add_test(AlberTests AlberTests)

1
third_party/nihstro vendored Submodule

@ -0,0 +1 @@
Subproject commit e924e21b1da60170f0f0a4e5a073cb7d579969c0