projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3c760
)
Do not override optimization level
author
Nicholas Guriev
<guriev-ns@ya.ru>
Thu, 25 Jul 2019 05:58:48 +0000
(08:58 +0300)
committer
Hermet Park
<hermetpark@gmail.com>
Fri, 9 Aug 2019 08:54:18 +0000
(17:54 +0900)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
2bb73a5
..
375a79d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-3,6
+3,10
@@
cmake_minimum_required( VERSION 3.3 )
#declare project
project( rlottie VERSION 0.0.1 LANGUAGES C CXX ASM)
+if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE MinSizeRel)
+endif()
+
add_definitions(-DLOT_BUILD)
#declare target
@@
-38,7
+42,6
@@
target_compile_options(rlottie
PUBLIC
PRIVATE
-std=c++14
- -Os
-fno-exceptions
-fno-unwind-tables
-fno-asynchronous-unwind-tables