Skip to content

Is it possible build googletest without Visual Studio? #4597

Discussion options

You must be logged in to vote

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.

  1. Generate Makefiles:

    cmake -G "MinGW Makefiles" ..
  2. Build Using MinGW:

    mingw32-make

This process avoids using Visual Studio and relies on MinGW to build GoogleTest.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@StanleyWu8787
Comment options

Answer selected by StanleyWu8787
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants