projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac71fb6
)
layers: do not override CMAKE_C_FLAGS
author
Chia-I Wu
<olv@lunarg.com>
Tue, 16 Dec 2014 02:57:50 +0000
(10:57 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Wed, 17 Dec 2014 03:01:45 +0000
(11:01 +0800)
We are warning free now using the project's CMAKE_C_FLAGS.
layers/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/layers/CMakeLists.txt
b/layers/CMakeLists.txt
index 37520d625b91276ee3f6162e8f293ee005b89a2e..012191d10832f5929e66221f5319b9f80f0f5738 100644
(file)
--- a/
layers/CMakeLists.txt
+++ b/
layers/CMakeLists.txt
@@
-18,9
+18,6
@@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
-# TODO : With standard settings below we get warnings as error due to unused functions.
-#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I ../include")
-set (CMAKE_C_FLAGS "-std=c99 -Wextra -Wno-sign-compare -Wno-unused-parameter -I ../include")
set (CMAKE_CXX_FLAGS "-std=c++11")
add_library (XGLLayerBasic SHARED basic.cpp)