Is it possible build googletest without Visual Studio? #4597
-
I follow https://github.com/google/googletest/blob/main/googletest/README.md There is a part about windows:
My question is can we build googletest without Visual Studio? And there is no Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can build GoogleTest without Visual Studio by using CMake with a different generator. For example, on Windows, you can use MinGW or another compatible toolchain.
This process avoids using Visual Studio and relies on MinGW to build GoogleTest. |
Beta Was this translation helpful? Give feedback.
Yes, you can build GoogleTest without Visual Studio by using CMake with a different generator. For example, on Windows, you can use MinGW or another compatible toolchain.
Generate Makefiles:
cmake -G "MinGW Makefiles" ..
Build Using MinGW:
This process avoids using Visual Studio and relies on MinGW to build GoogleTest.