[vlc-devel] [PATCH 03/19] contrib: cmake: set the Debug/Release target depending on the bootstrap flags

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Jun 14 15:32:23 CEST 2017


On Wed, Jun 14, 2017, at 02:01 PM, Steve Lhomme wrote:
> ---
>  contrib/src/main.mak | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/contrib/src/main.mak b/contrib/src/main.mak
> index 28bd43c632..96306153f8 100644
> --- a/contrib/src/main.mak
> +++ b/contrib/src/main.mak
> @@ -467,6 +467,11 @@ else
>  	echo "set(CMAKE_SYSTEM_NAME Windows)" >> $@
>  endif
>  endif
> +ifndef WITH_OPTIMIZATION
> +       echo "set(CMAKE_BUILD_TYPE Debug)" >> $@
> +else
> +       echo "set(CMAKE_BUILD_TYPE Release)" >> $@
> +endif
>  	echo "set(CMAKE_RC_COMPILER $(HOST)-windres)" >> $@
>  endif
>  ifdef HAVE_DARWIN_OS
> -- 
> 2.12.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

LGTM

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list