Uhhhhh big big changes

This commit is contained in:
NaifBanana
2026-08-20 08:14:29 -05:00
parent bb2f046c90
commit be68245771
20 changed files with 561 additions and 285 deletions
+9 -1
View File
@@ -4,21 +4,29 @@ if (NB_BUILD_TESTS)
enable_testing()
include(GoogleTest)
set(STBIMAGE_PATH ${NBENGINE_ROOT}/../stbi_image)
get_filename_component(STBIMAGE_PATH ${STBIMAGE_PATH} ABSOLUTE)
add_executable(TestWindow
./TestWindow.cpp
)
target_link_libraries(TestWindow
NBGraphics
)
target_include_directories(TestWindow
PRIVATE "${STBIMAGE_PATH}"
)
add_executable(TestImages
./testImages.cpp
)
target_link_libraries(TestImages
NBCore
NBGraphics
GTest::gtest_main
)
target_include_directories(TestImages
PRIVATE "${STBIMAGE_PATH}"
)
gtest_discover_tests(TestImages)