aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-08 11:28:44 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-03-08 11:28:44 +0900
commit6a3569b81304bb2e64dce923ba52d82c701356fa (patch)
treef60cf847ae40b31b3c26230f9db2028ea879b789 /src
parent3112266f448e582b06d46034748fc80d71e4d7b1 (diff)
Remove the optional definition of debug
To be simple, remove the option for debug. Debug option is set by only CMAKE_BUILD_TYPE. Change-Id: Ie23062eb31ba6b084a388ef33848c5024d84c668 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7a29782..aa69b85 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,11 +40,6 @@ link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined)
add_library(${TARGETS_SMBINDER} MODULE ${binding_sm_sources})
target_compile_options(${TARGETS_SMBINDER} PRIVATE ${sm_binding_depends_CFLAGS})
-if(DEFINED DEBUGMODE)
- target_compile_options(${TARGETS_SMBINDER} PRIVATE -g -O0)
-else(DEFINED DEBUGMODE)
- target_compile_options(${TARGETS_SMBINDER} PRIVATE -g -O2)
-endif(DEFINED DEBUGMODE)
target_include_directories(${TARGETS_SMBINDER} PRIVATE ${sm_binding_depends_INCLUDE_DIRS})
target_link_libraries(${TARGETS_SMBINDER} ${CMAKE_THREAD_LIBS_INIT} ${link_libraries} ${sm_binding_depends_LIBRARIES})