Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
30932718
Commit
30932718
authored
Apr 06, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed example makefile for clang
parent
1dea46e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
93 additions
and
93 deletions
+93
-93
example/Makefile
example/Makefile
+29
-29
example/Makefile.clang
example/Makefile.clang
+32
-32
example/Makefile.mingw
example/Makefile.mingw
+32
-32
No files found.
example/Makefile
View file @
30932718
CXX
?=
g++
CXX
?=
g++
CXXFLAGS
=
CXXFLAGS
=
CXX_FLAGS
=
-Wall
-Wshadow
-Wextra
-pedantic
-std
=
c++11
-pthread
-I
../include
CXX_FLAGS
=
-Wall
-Wshadow
-Wextra
-pedantic
-std
=
c++11
-pthread
-I
../include
CXX_RELEASE_FLAGS
=
-O3
-march
=
native
CXX_RELEASE_FLAGS
=
-O3
-march
=
native
CXX_DEBUG_FLAGS
=
-g
CXX_DEBUG_FLAGS
=
-g
all
:
example bench
all
:
example bench
debug
:
example-debug bench-debug
debug
:
example-debug bench-debug
example
:
example.cpp
example
:
example.cpp
$(CXX)
example.cpp
-o
example
$(CXX_FLAGS)
$(CXX_RELEASE_FLAGS)
$(CXXFLAGS)
$(CXX)
example.cpp
-o
example
$(CXX_FLAGS)
$(CXX_RELEASE_FLAGS)
$(CXXFLAGS)
bench
:
bench.cpp
bench
:
bench.cpp
$(CXX)
bench.cpp
-o
bench
$(CXX_FLAGS)
$(CXX_RELEASE_FLAGS)
$(CXXFLAGS)
$(CXX)
bench.cpp
-o
bench
$(CXX_FLAGS)
$(CXX_RELEASE_FLAGS)
$(CXXFLAGS)
example-debug
:
example.cpp
example-debug
:
example.cpp
$(CXX)
example.cpp
-o
example-debug
$(CXX_FLAGS)
$(CXX_DEBUG_FLAGS)
$(CXXFLAGS)
$(CXX)
example.cpp
-o
example-debug
$(CXX_FLAGS)
$(CXX_DEBUG_FLAGS)
$(CXXFLAGS)
bench-debug
:
bench.cpp
bench-debug
:
bench.cpp
$(CXX)
bench.cpp
-o
bench-debug
$(CXX_FLAGS)
$(CXX_DEBUG_FLAGS)
$(CXXFLAGS)
$(CXX)
bench.cpp
-o
bench-debug
$(CXX_FLAGS)
$(CXX_DEBUG_FLAGS)
$(CXXFLAGS)
clean
:
clean
:
rm
-f
*
.o logs/
*
.txt example example-debug bench bench-debug
rm
-f
*
.o logs/
*
.txt example example-debug bench bench-debug
rebuild
:
clean all
rebuild
:
clean all
rebuild-debug
:
clean debug
rebuild-debug
:
clean debug
example/Makefile.clang
View file @
30932718
CXX
?=
clang++
CXX
=
clang++
CXXFLAGS
=
-march
=
native
-Wall
-Wextra
-Wshadow
-pedantic
-std
=
c++11
-pthread
-I
../include
CXXFLAGS
=
-march
=
native
-Wall
-Wextra
-Wshadow
-pedantic
-std
=
c++11
-pthread
-I
../include
CXX_RELEASE_FLAGS
=
-O2
CXX_RELEASE_FLAGS
=
-O2
CXX_DEBUG_FLAGS
=
-g
CXX_DEBUG_FLAGS
=
-g
all
:
example bench
all
:
example bench
debug
:
example-debug bench-debug
debug
:
example-debug bench-debug
example
:
example.cpp
example
:
example.cpp
$(CXX)
example.cpp
-o
example-clang
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
$(CXX)
example.cpp
-o
example-clang
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
bench
:
bench.cpp
bench
:
bench.cpp
$(CXX)
bench.cpp
-o
bench-clang
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
$(CXX)
bench.cpp
-o
bench-clang
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
example-debug
:
example.cpp
example-debug
:
example.cpp
$(CXX)
example.cpp
-o
example-clang-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
$(CXX)
example.cpp
-o
example-clang-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
bench-debug
:
bench.cpp
bench-debug
:
bench.cpp
$(CXX)
bench.cpp
-o
bench-clang-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
$(CXX)
bench.cpp
-o
bench-clang-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
clean
:
clean
:
rm
-f
*
.o logs/
*
.txt example-clang example-clang-debug bench-clang bench-clang-debug
rm
-f
*
.o logs/
*
.txt example-clang example-clang-debug bench-clang bench-clang-debug
rebuild
:
clean all
rebuild
:
clean all
rebuild-debug
:
clean debug
rebuild-debug
:
clean debug
example/Makefile.mingw
View file @
30932718
CXX
?=
g++
CXX
?=
g++
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-Wextra
-Wshadow
-pedantic
-std
=
gnu++0x
-pthread
-Wl
,--no-as-needed
-I
../include
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-Wextra
-Wshadow
-pedantic
-std
=
gnu++0x
-pthread
-Wl
,--no-as-needed
-I
../include
CXX_RELEASE_FLAGS
=
-O3
CXX_RELEASE_FLAGS
=
-O3
CXX_DEBUG_FLAGS
=
-g
CXX_DEBUG_FLAGS
=
-g
all
:
example bench
all
:
example bench
debug
:
example-debug bench-debug
debug
:
example-debug bench-debug
example
:
example.cpp
example
:
example.cpp
$(CXX)
example.cpp
-o
example
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
$(CXX)
example.cpp
-o
example
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
bench
:
bench.cpp
bench
:
bench.cpp
$(CXX)
bench.cpp
-o
bench
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
$(CXX)
bench.cpp
-o
bench
$(CXXFLAGS)
$(CXX_RELEASE_FLAGS)
example-debug
:
example.cpp
example-debug
:
example.cpp
$(CXX)
example.cpp
-o
example-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
$(CXX)
example.cpp
-o
example-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
bench-debug
:
bench.cpp
bench-debug
:
bench.cpp
$(CXX)
bench.cpp
-o
bench-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
$(CXX)
bench.cpp
-o
bench-debug
$(CXXFLAGS)
$(CXX_DEBUG_FLAGS)
clean
:
clean
:
rm
-f
*
.o logs/
*
.txt example example-debug bench bench-debug
rm
-f
*
.o logs/
*
.txt example example-debug bench bench-debug
rebuild
:
clean all
rebuild
:
clean all
rebuild-debug
:
clean debug
rebuild-debug
:
clean debug
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