Restore buildbot status

This commit is contained in:
IlyaShurupov 2024-03-22 17:16:24 +03:00
parent d9618e862e
commit fe908fe0bc
11 changed files with 53 additions and 49 deletions

View file

@ -8,13 +8,6 @@ add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
target_include_directories(${PROJECT_NAME} PUBLIC ./public/)
target_link_libraries(${PROJECT_NAME} PUBLIC Math Graphics Imgui)
### -------------------------- Tests -------------------------- ###
enable_testing()
file(GLOB TEST_SOURCES "./tests/*.cpp")
add_executable(Test${PROJECT_NAME} ${TEST_SOURCES})
target_link_libraries(Test${PROJECT_NAME} ${PROJECT_NAME} UnitTest++)
add_test(NAME Test${PROJECT_NAME} COMMAND Test${PROJECT_NAME})
### -------------------------- Applications -------------------------- ###
add_executable(ExampleGui examples/Entry.cpp)

View file

@ -1,6 +0,0 @@
#include "UnitTest++/UnitTest++.h"
TEST(NO_TESTS) { CHECK(false); }
int main() { return UnitTest::RunAllTests(); }