Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
8145d0fd
Commit
8145d0fd
authored
Dec 21, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bench makefiles
parent
0172a2bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
7 deletions
+32
-7
Makefile
bench/Makefile
+0
-2
Makefile.mingw
bench/Makefile.mingw
+32
-5
No files found.
bench/Makefile
View file @
8145d0fd
...
...
@@ -39,8 +39,6 @@ g2log-async: g2log-async.cpp
$(CXX)
g2log-async.cpp
-o
g2log-async
$(CXXFLAGS)
$(G2LOG_FLAGS)
$(CXX_RELEASE_FLAGS)
EASYL_FLAGS
=
-I
../../easylogging/src/
easylogging-bench
:
easylogging-bench.cpp
$(CXX)
easylogging-bench.cpp
-o
easylogging-bench
$(CXXFLAGS)
$(EASYL_FLAGS)
$(CXX_RELEASE_FLAGS)
...
...
bench/Makefile.mingw
View file @
8145d0fd
CXX
=
g++
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-Wextra
-
Wshadow
-
pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-I
../include
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-Wextra
-pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-I
../include
CXX_RELEASE_FLAGS
=
-O3
-flto
all
:
spdlog-bench spdlog-bench-mt boost-bench boost-bench-mt
binaries
=
spdlog-bench spdlog-bench-mt spdlog-async boost-bench boost-bench-mt glog-bench glog-bench-mt g2log-async easylogging-bench easylogging-bench-mt
all
:
$(binaries)
spdlog-bench
:
spdlog-bench.cpp
$(CXX)
spdlog-bench.cpp
-o
spdlog-bench
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
spdlog-bench-mt
:
spdlog-bench-mt.cpp
$(CXX)
spdlog-bench-mt.cpp
-o
spdlog-bench-mt
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
$(CXX)
spdlog-bench-mt.cpp
-o
spdlog-bench-mt
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
spdlog-async
:
spdlog-async.cpp
$(CXX)
spdlog-async.cpp
-o
spdlog-async
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
BOOST_FLAGS
=
-DBOOST_LOG_DYN_LINK
-I
$(BOOST_ROOT)
/include
-L
$(BOOST_ROOT)
/lib
-lboost_log
-lboost_log_setup
-lboost_filesystem
-lboost_system
-lboost_thread
-lboost_regex
-lboost_date_time
-lboost_chrono
BOOST_FLAGS
=
-DBOOST_LOG_DYN_LINK
-I
/home/gabi/devel/boost_1_56_0/
-L
/home/gabi/devel/boost_1_56_0/stage
/lib
-lboost_log
-lboost_log_setup
-lboost_filesystem
-lboost_system
-lboost_thread
-lboost_regex
-lboost_date_time
-lboost_chrono
boost-bench
:
boost-bench.cpp
$(CXX)
boost-bench.cpp
-o
boost-bench
$(CXXFLAGS)
$(BOOST_FLAGS)
$(CXX_RELEASE_FLAGS)
...
...
@@ -20,8 +26,29 @@ boost-bench-mt: boost-bench-mt.cpp
$(CXX)
boost-bench-mt.cpp
-o
boost-bench-mt
$(CXXFLAGS)
$(BOOST_FLAGS)
$(CXX_RELEASE_FLAGS)
GLOG_FLAGS
=
-lglog
glog-bench
:
glog-bench.cpp
$(CXX)
glog-bench.cpp
-o
glog-bench
$(CXXFLAGS)
$(GLOG_FLAGS)
$(CXX_RELEASE_FLAGS)
glog-bench-mt
:
glog-bench-mt.cpp
$(CXX)
glog-bench-mt.cpp
-o
glog-bench-mt
$(CXXFLAGS)
$(GLOG_FLAGS)
$(CXX_RELEASE_FLAGS)
G2LOG_FLAGS
=
-I
/home/gabi/devel/g2log/g2log/src
-L
/home/gabi/devel/g2log/g2log
-llib_g2logger
g2log-async
:
g2log-async.cpp
$(CXX)
g2log-async.cpp
-o
g2log-async
$(CXXFLAGS)
$(G2LOG_FLAGS)
$(CXX_RELEASE_FLAGS)
EASYL_FLAGS
=
-I
../../easylogging/src/
easylogging-bench
:
easylogging-bench.cpp
$(CXX)
easylogging-bench.cpp
-o
easylogging-bench
$(CXXFLAGS)
$(EASYL_FLAGS)
$(CXX_RELEASE_FLAGS)
easylogging-bench-mt
:
easylogging-bench-mt.cpp
$(CXX)
easylogging-bench-mt.cpp
-o
easylogging-bench-mt
$(CXXFLAGS)
$(EASYL_FLAGS)
$(CXX_RELEASE_FLAGS)
.PHONY
:
clean
clean
:
rm
-f
*
.o logs/
*
.txt spdlog-bench spdlog-bench-mt boost-bench boost-bench-mt
rm
-f
*
.o logs/
*
$(binaries)
rebuild
:
clean all
...
...
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