projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c459c9
)
Set CMAKE_BUILD_TYPE 'Release' as default
author
WonYoung Choi
<wy80.choi@samsung.com>
Fri, 3 Apr 2015 06:51:48 +0000
(15:51 +0900)
committer
WonYoung Choi
<wy80.choi@samsung.com>
Fri, 3 Apr 2015 06:51:48 +0000
(15:51 +0900)
Change-Id: I5c0c8fa4525ebd2c6dd60da7e7f853d580a98d90
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
b581c8c
..
f98c49e
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-15,6
+15,9
@@
OPTION(X11_SUPPORT "Support x11 for window manager" OFF)
OPTION(WAYLAND_SUPPORT "Support wayland for window manager" OFF)
# Compiler flags
+IF(NOT CMAKE_BUILD_TYPE)
+ SET(CMAKE_BUILD_TYPE "Release")
+ENDIF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_C_FLAGS_PROFILING "-O2")
SET(CMAKE_CXX_FLAGS_PROFILING "-O2 -std=c++0x")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")