mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 11:43:56 +00:00
Use gtest-main (#130)
This commit is contained in:
@@ -88,11 +88,6 @@ if(MSVC)
|
||||
|
||||
momo_add_c_and_cxx_release_compile_options(
|
||||
/Ob2
|
||||
#/GL
|
||||
)
|
||||
|
||||
momo_add_release_link_options(
|
||||
#/LTCG
|
||||
)
|
||||
|
||||
add_compile_definitions(
|
||||
|
||||
@@ -12,6 +12,7 @@ momo_assign_source_group(${SRC_FILES})
|
||||
|
||||
target_link_libraries(windows-emulator-test PRIVATE
|
||||
gtest
|
||||
gtest_main
|
||||
windows-emulator
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in New Issue
Block a user