* Set build type to Debug if not given
This will set CMAKE_BUILD_TYPE to "Debug" if not given through arguments
- this will add -g compile option
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* message always
endmacro(nncc_find_package)
###
+### CMake configuration
+###
+if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Type of build" FORCE)
+endif(NOT CMAKE_BUILD_TYPE)
+message(STATUS "Use '${CMAKE_BUILD_TYPE}' configuration")
+
+###
### Configuration
###
option(DOWNLOAD_EIGEN "Download Eigen source" ON)