Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
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
benchmark
Commits
710c2b89
Commit
710c2b89
authored
Jun 16, 2017
by
Jern-Kuan Leong
Committed by
Dominic Hamon
Jun 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #403 HAVE_${VAR} not passed to makefile (#404)
Add definition of ${VAR} to makefiles if specified as part of cmake parameter.
parent
b8a2206f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
AUTHORS
AUTHORS
+1
-0
CONTRIBUTORS
CONTRIBUTORS
+1
-0
CXXFeatureCheck.cmake
cmake/CXXFeatureCheck.cmake
+2
-0
No files found.
AUTHORS
View file @
710c2b89
...
...
@@ -20,6 +20,7 @@ Felix Homann <linuxaudio@showlabor.de>
Google Inc.
International Business Machines Corporation
Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
Jern-Kuan Leong <jernkuan@gmail.com>
Joao Paulo Magalhaes <joaoppmagalhaes@gmail.com>
JianXiong Zhou <zhoujianxiong2@gmail.com>
Jussi Knuuttila <jussi.knuuttila@gmail.com>
...
...
CONTRIBUTORS
View file @
710c2b89
...
...
@@ -34,6 +34,7 @@ Eugene Zhuk <eugene.zhuk@gmail.com>
Evgeny Safronov <division494@gmail.com>
Felix Homann <linuxaudio@showlabor.de>
Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
Jern-Kuan Leong <jernkuan@gmail.com>
Joao Paulo Magalhaes <joaoppmagalhaes@gmail.com>
JianXiong Zhou <zhoujianxiong2@gmail.com>
Jussi Knuuttila <jussi.knuuttila@gmail.com>
...
...
cmake/CXXFeatureCheck.cmake
View file @
710c2b89
...
...
@@ -22,6 +22,8 @@ function(cxx_feature_check FILE)
string
(
TOUPPER
${
FILE
}
VAR
)
string
(
TOUPPER
"HAVE_
${
VAR
}
"
FEATURE
)
if
(
DEFINED HAVE_
${
VAR
}
)
set
(
HAVE_
${
VAR
}
1 CACHE INTERNAL
"Feature test for
${
FILE
}
"
PARENT_SCOPE
)
add_definitions
(
-DHAVE_
${
VAR
}
)
return
()
endif
()
message
(
"-- Performing Test
${
FEATURE
}
"
)
...
...
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