Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cfbdcd28
authored
Oct 08, 2014
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: check for clang
parent
6cae6acc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
+8
-0
No files found.
CMakeLists.txt
View file @
cfbdcd28
...
@@ -36,6 +36,14 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING
...
@@ -36,6 +36,14 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING
RelWithDebInfo MinSizeRel."
FORCE
)
RelWithDebInfo MinSizeRel."
FORCE
)
endif
(
NOT CMAKE_BUILD_TYPE
)
endif
(
NOT CMAKE_BUILD_TYPE
)
# Check for clang, masquerade it as GNU
if
(
"
${
CMAKE_C_COMPILER_ID
}
"
STREQUAL
"Clang"
)
set
(
CMAKE_COMPILER_IS_GNUCC true
)
endif
()
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
STREQUAL
"Clang"
)
set
(
CMAKE_COMPILER_IS_GNUCXX true
)
endif
()
## Command line options
## Command line options
#
#
# The set option will be converted to uppercase letters by cmake!! --> ON/OFF
# The set option will be converted to uppercase letters by cmake!! --> ON/OFF
...
...
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