Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,10 @@ add_subdirectory(../ "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")

# Catch the usage of obsolete functions in imgui
target_compile_definitions(imgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS)

if(SPLIT_TESTS)
include(GoogleTest)
gtest_discover_tests(polyscope-test EXTRA_ARGS backend=openGL3_glfw)
else()
add_test(NAME polyscope-test COMMAND $<TARGET_FILE:polyscope-test> backend=openGL3_glfw)
endif()