Control build type by CONFIG_DEBUG option
This commit is contained in:
parent
5a9cd902ab
commit
560504b852
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ CMAKE_OPTIONAL_PLUGINS:= $(subst $(SPACE),;,$(strip \
|
||||||
$(if $(filter y,$(CONFIG_OONF_GENERIC_HTTP)),http,) \
|
$(if $(filter y,$(CONFIG_OONF_GENERIC_HTTP)),http,) \
|
||||||
))
|
))
|
||||||
|
|
||||||
CMAKE_OPTIONS=-D OONF_NO_WERROR:Bool=true \
|
BUILD_TYPE:= $(if $(filter y,$(CONFIG_DEBUG)),Debug,Release)
|
||||||
|
|
||||||
|
CMAKE_OPTIONS=-D CMAKE_BUILD_TYPE:String=$(BUILD_TYPE) \
|
||||||
|
-D OONF_NO_WERROR:Bool=true \
|
||||||
-D OONF_LOGGING_LEVEL:String=debug \
|
-D OONF_LOGGING_LEVEL:String=debug \
|
||||||
-D OONF_NO_TESTING:Bool=true \
|
-D OONF_NO_TESTING:Bool=true \
|
||||||
-D UCI:Bool=true \
|
-D UCI:Bool=true \
|
||||||
|
|
Loading…
Reference in a new issue