Skip to content

Commit

Permalink
Merge 56d3712 into 68d181d
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohki Akikaze committed Jan 28, 2022
2 parents 68d181d + 56d3712 commit 5d86f04
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/googletest
Submodule googletest updated 335 files
6 changes: 2 additions & 4 deletions tests/googletest.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
<GoogleTestLibInstallDir Condition="'$(Platform)' == 'Win32'">$(GoogleTestInstallDir)lib</GoogleTestLibInstallDir>
<GoogleTestLibInstallDir Condition="'$(Platform)' == 'x64'">$(GoogleTestInstallDir)lib64</GoogleTestLibInstallDir>
<LibraryPath>$(GoogleTestLibInstallDir);$(LibraryPath)</LibraryPath>
<NameSuffix Condition="'$(Configuration)' == 'Debug'">d</NameSuffix>
<NameSuffix Condition="'$(Configuration)' == 'Release'"></NameSuffix>
<GTestLibName>gtest$(NameSuffix).lib</GTestLibName>
<GTestMainLibName>gtest_main$(NameSuffix).lib</GTestMainLibName>
<GTestLibName>gtest.lib</GTestLibName>
<GTestMainLibName>gtest_main.lib</GTestMainLibName>
<GTestLibPath>$(GoogleTestLibInstallDir)\$(GTestLibName)</GTestLibPath>
<GTestMainLibPath>$(GoogleTestLibInstallDir)\$(GTestMainLibName)</GTestMainLibPath>
</PropertyGroup>
Expand Down
6 changes: 2 additions & 4 deletions tests/unittests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ ifeq (,$(findstring -D_DEBUG,$(DEFINES)))
ifeq (,$(findstring -DNDEBUG,$(DEFINES)))
DEFINES += -DNDEBUG
endif
else
LIB_SUFFIX = d
endif

CFLAGS= \
Expand Down Expand Up @@ -120,8 +118,8 @@ LIBS= \
-lgdi32 \
-lcomdlg32 \
-L$(GOOGLETEST_INSTALL_DIR)/lib \
-lgtest$(or $(LIB_SUFFIX),) \
-lgtest_main$(or $(LIB_SUFFIX),) \
-lgtest \
-lgtest_main \
$(MYLIBS)

exe= $(or $(OUTDIR),.)/tests1.exe
Expand Down
1 change: 1 addition & 0 deletions tests/unittests/test-zoom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
distribution.
*/
#include <gtest/gtest.h>
#include <algorithm>
#include "util/zoom.h"

/*!
Expand Down

0 comments on commit 5d86f04

Please sign in to comment.