Skip to content

Commit

Permalink
Update GTest & rename Quake1 -> Quake1R
Browse files Browse the repository at this point in the history
- To emphasize that it's the remake in question
  • Loading branch information
visuve committed Jan 4, 2024
1 parent 1f7b032 commit e1a4245
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 4)
endif()

if(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_subdirectory("Quake1")
add_subdirectory("Quake1R")
add_subdirectory("Hitman2016")
add_subdirectory("Metro2033Redux")
add_subdirectory("Doom2016")
Expand Down
2 changes: 1 addition & 1 deletion GoogleTest.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include(FetchContent)

FetchContent_Declare(googletest URL https://github.com/google/googletest/archive/refs/tags/release-1.11.0.zip)
FetchContent_Declare(googletest URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip)

FetchContent_MakeAvailable(googletest)
7 changes: 5 additions & 2 deletions HackLibTests/HackLibTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ int wmain(int argc, wchar_t** argv)
return ERROR_BAD_ARGUMENTS;
}

testing::InitGoogleTest(&argc, argv);

#if defined(_DEBUG)
testing::UnitTest::GetInstance()->listeners().Append(new MemoryLeakListener());
#endif

testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
int result = testing::UnitTest::GetInstance()->Run();

return result;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e1a4245

Please sign in to comment.