Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
fmt
Commits
a502decd
Commit
a502decd
authored
Jan 27, 2018
by
Giuseppe Corbelli
Committed by
Victor Zverovich
Feb 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a fmt.pro to support build using qmake (#641)
parent
61065e1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
support/README
support/README
+2
-0
support/fmt.pro
support/fmt.pro
+29
-0
No files found.
support/README
View file @
a502decd
...
@@ -2,3 +2,5 @@ This directory contains build support files such as
...
@@ -2,3 +2,5 @@ This directory contains build support files such as
* CMake modules
* CMake modules
* Build scripts
* Build scripts
* qmake (static build with dynamic libc only)
support/fmt.pro
0 → 100644
View file @
a502decd
# Staticlib configuration for qmake builds
#
For
some
reason
qmake
3.1
fails
to
identify
source
dependencies
and
excludes
format
.
cc
and
printf
.
cc
#
from
compilation
so
it
_MUST_
be
called
as
qmake
-
nodepend
#
A
workaround
is
implemented
below
:
a
custom
compiler
is
defined
which
does
not
track
dependencies
TEMPLATE
=
lib
TARGET
=
fmt
QMAKE_EXT_CPP
=
.
cc
CONFIG
=
staticlib
warn_on
c
++
11
FMT_SOURCES
=
\
..
/
fmt
/
format
.
cc
\
..
/
fmt
/
ostream
.
cc
\
..
/
fmt
/
posix
.
cc
\
..
/
fmt
/
printf
.
cc
fmt
.
name
=
libfmt
fmt
.
input
=
FMT_SOURCES
fmt
.
output
=
$
{
QMAKE_FILE_BASE
}
$$
QMAKE_EXT_OBJ
fmt
.
clean
=
$
{
QMAKE_FILE_BASE
}
$$
QMAKE_EXT_OBJ
fmt
.
depends
=
$
{
QMAKE_FILE_IN
}
#
QMAKE_RUN_CXX
will
not
be
expanded
fmt
.
commands
=
$$
QMAKE_CXX
-
c
$$
QMAKE_CXXFLAGS
$$
QMAKE_CXXFLAGS_WARN_ON
$$
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO
$$
QMAKE_CXXFLAGS_CXX11
$
{
QMAKE_FILE_IN
}
fmt
.
variable_out
=
OBJECTS
fmt
.
CONFIG
=
no_dependencies
no_link
QMAKE_EXTRA_COMPILERS
+=
fmt
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