mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Merge e1a97d4c234d55f301c2d2ae3945a2205b3d4203 into 1b96fa13f549387b7549cc89e1a785cf143a1a50
This commit is contained in:
commit
27cd819b8a
@ -177,7 +177,7 @@ as a DLL on Windows) if you prefer.
|
|||||||
To compile *gtest* as a shared library, add
|
To compile *gtest* as a shared library, add
|
||||||
|
|
||||||
```
|
```
|
||||||
-DGTEST_CREATE_SHARED_LIBRARY=1
|
-DBUILD_SHARED_LIBS=1
|
||||||
```
|
```
|
||||||
|
|
||||||
to the compiler flags. You'll also need to tell the linker to produce a shared
|
to the compiler flags. You'll also need to tell the linker to produce a shared
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user