Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
97c45282
Commit
97c45282
authored
Apr 14, 2010
by
zhanyong.wan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Over-hauls README, and fixes Makefile.
parent
1b71f0b2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
README
README
+0
-0
Makefile
make/Makefile
+6
-4
No files found.
README
View file @
97c45282
This diff is collapsed.
Click to expand it.
make/Makefile
View file @
97c45282
...
@@ -20,7 +20,7 @@ GTEST_DIR = ..
...
@@ -20,7 +20,7 @@ GTEST_DIR = ..
USER_DIR
=
../samples
USER_DIR
=
../samples
# Flags passed to the preprocessor.
# Flags passed to the preprocessor.
CPPFLAGS
+=
-I
$(GTEST_DIR)
-I
$(GTEST_DIR)
/include
CPPFLAGS
+=
-I
$(GTEST_DIR)
/include
# Flags passed to the C++ compiler.
# Flags passed to the C++ compiler.
CXXFLAGS
+=
-g
-Wall
-Wextra
CXXFLAGS
+=
-g
-Wall
-Wextra
...
@@ -52,10 +52,12 @@ GTEST_SRCS_ = $(GTEST_DIR)/src/*.cc $(GTEST_DIR)/src/*.h $(GTEST_HEADERS)
...
@@ -52,10 +52,12 @@ GTEST_SRCS_ = $(GTEST_DIR)/src/*.cc $(GTEST_DIR)/src/*.h $(GTEST_HEADERS)
# conservative and not optimized. This is fine as Google Test
# conservative and not optimized. This is fine as Google Test
# compiles fast and for ordinary users its source rarely changes.
# compiles fast and for ordinary users its source rarely changes.
gtest-all.o
:
$(GTEST_SRCS_)
gtest-all.o
:
$(GTEST_SRCS_)
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
-c
$(GTEST_DIR)
/src/gtest-all.cc
$(CXX)
$(CPPFLAGS)
-I
$(GTEST_DIR)
$(CXXFLAGS)
-c
\
$(GTEST_DIR)
/src/gtest-all.cc
gtest_main.o
:
$(GTEST_SRCS_)
gtest_main.o
:
$(GTEST_SRCS_)
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
-c
$(GTEST_DIR)
/src/gtest_main.cc
$(CXX)
$(CPPFLAGS)
-I
$(GTEST_DIR)
$(CXXFLAGS)
-c
\
$(GTEST_DIR)
/src/gtest_main.cc
gtest.a
:
gtest-all.o
gtest.a
:
gtest-all.o
$(AR)
$(ARFLAGS)
$@
$^
$(AR)
$(ARFLAGS)
$@
$^
...
@@ -75,4 +77,4 @@ sample1_unittest.o : $(USER_DIR)/sample1_unittest.cc \
...
@@ -75,4 +77,4 @@ sample1_unittest.o : $(USER_DIR)/sample1_unittest.cc \
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
-c
$(USER_DIR)
/sample1_unittest.cc
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
-c
$(USER_DIR)
/sample1_unittest.cc
sample1_unittest
:
sample1.o sample1_unittest.o gtest_main.a
sample1_unittest
:
sample1.o sample1_unittest.o gtest_main.a
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
$^
-o
$@
$(CXX)
$(CPPFLAGS)
$(CXXFLAGS)
-lpthread
$^
-o
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment