VirtualBox

Changeset 53807 in vbox


Ignore:
Timestamp:
Jan 14, 2015 6:53:17 PM (10 years ago)
Author:
vboxsync
Message:

added another Windows resource file

Location:
trunk/src/recompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Makefile.kmk

    r51778 r53807  
    118118VBoxRemPrimary_SOURCES.debug  += \
    119119        Sun/testmath.c
     120VBoxRemPrimary_SOURCES.win = $(VBoxREMImp_0_OUTDIR)/VBoxREMRes.o
    120121VBoxRemPrimary_SOURCES.win.x86 = $(VBoxREMImp_0_OUTDIR)/VBoxREMWin.def
    121122ifdef VBOX_USE_MINGWW64
     
    317318        $(CP) -f $< $@
    318319
     320$$(VBoxREMImp_0_OUTDIR)/VBoxREMRes.o: $(VBOX_PATH_RECOMPILER_SRC)/VBoxREM.rc $(MAKEFILE_CURRENT) | $$(dir $$@)
     321        $(TOOL_MINGWW64_PREFIX)windres \
     322            $(addprefix -I,$(INCS)) \
     323            -DVBOX_VERSION_MAJOR_NR=$(VBOX_VERSION_MAJOR) \
     324            -DVBOX_VERSION_MINOR_NR=$(VBOX_VERSION_MINOR) \
     325            -DVBOX_VERSION_BUILD_NR=$(VBOX_VERSION_BUILD) \
     326            -DVBOX_SVN_REV=$(VBOX_SVN_REV) $< $@
    319327
    320328#
  • trunk/src/recompiler/VBoxREM.rc

    r53805 r53807  
    1919#include <VBox/version.h>
    2020
     21/* stupid windres! */
     22#define RT_STR(x) #x
     23#define RT_XSTR(x) RT_STR(x)
     24
    2125LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    2226
     
    3640      VALUE "CompanyName",      VBOX_RC_COMPANY_NAME
    3741      VALUE "FileDescription",  "VirtualBox Recompiler\0"
    38       VALUE "FileVersion",      VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0"
     42      VALUE "FileVersion",      RT_XSTR(VBOX_VERSION_MAJOR_NR) "." RT_XSTR(VBOX_VERSION_MINOR_NR) "." RT_XSTR(VBOX_VERSION_BUILD_NR) "." RT_XSTR(VBOX_SVN_REV) "\0"
    3943      VALUE "InternalName",     "VBoxREM\0"
    4044      VALUE "LegalCopyright",   VBOX_RC_LEGAL_COPYRIGHT
    4145      VALUE "OriginalFilename", "VBoxREM.dll\0"
    4246      VALUE "ProductName",      VBOX_PRODUCT "\0"
    43       VALUE "ProductVersion",   VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0"
     47      VALUE "ProductVersion",   RT_XSTR(VBOX_VERSION_MAJOR_NR) "." RT_XSTR(VBOX_VERSION_MINOR_NR) "." RT_XSTR(VBOX_VERSION_BUILD_NR) ".r" RT_XSTR(VBOX_SVN_REV) "\0"
    4448    END
    4549  END
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette