diff --git a/cmake/compiler-env.cmake b/cmake/compiler-env.cmake index ff756b49..b5eb9255 100644 --- a/cmake/compiler-env.cmake +++ b/cmake/compiler-env.cmake @@ -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( diff --git a/src/windows-emulator-test/CMakeLists.txt b/src/windows-emulator-test/CMakeLists.txt index 202db345..03e29838 100644 --- a/src/windows-emulator-test/CMakeLists.txt +++ b/src/windows-emulator-test/CMakeLists.txt @@ -12,6 +12,7 @@ momo_assign_source_group(${SRC_FILES}) target_link_libraries(windows-emulator-test PRIVATE gtest + gtest_main windows-emulator ) diff --git a/src/windows-emulator-test/main.cpp b/src/windows-emulator-test/main.cpp deleted file mode 100644 index 978a5982..00000000 --- a/src/windows-emulator-test/main.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main(int argc, char* argv[]) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -}