Commit deae1b10 authored by Henrik Gramner's avatar Henrik Gramner
Browse files

windows: Flag debug builds in the resource file

parent 0082b717
...@@ -1171,6 +1171,7 @@ fi ...@@ -1171,6 +1171,7 @@ fi
if [ "$debug" = "yes" ]; then if [ "$debug" = "yes" ]; then
CFLAGS="-O1 -g $CFLAGS" CFLAGS="-O1 -g $CFLAGS"
RCFLAGS="$RCFLAGS -DDEBUG"
else else
CFLAGS="-O3 -ffast-math $CFLAGS" CFLAGS="-O3 -ffast-math $CFLAGS"
fi fi
......
...@@ -39,7 +39,11 @@ VS_VERSION_INFO VERSIONINFO ...@@ -39,7 +39,11 @@ VS_VERSION_INFO VERSIONINFO
FILEVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF FILEVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
PRODUCTVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF PRODUCTVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0 FILEFLAGS 0
#endif
FILEOS VOS_NT_WINDOWS32 /* Identical for x86-64 */ FILEOS VOS_NT_WINDOWS32 /* Identical for x86-64 */
#ifdef DLL #ifdef DLL
FILETYPE VFT_DLL FILETYPE VFT_DLL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment