Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Passing macro's via NMAKE & handling (Q237870)

Passing macro's via NMAKE & handling (Q237870)

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmintoolshelpquestionannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EiSl
    wrote on last edited by
    #1

    Editted: for better understanding, I suggest one read the MSDN-Q237870 before continue Hello all, We've here automated build-scripts (Batch files and also 4NT batch-files) that creates user environment at a central (build)server. One of the scripts also executes NMAKE in order to build the application. Problem: Within the scipts I've the variable MAJOR_VER, MINOR_VER and BUILD_NR. I would like to pass these with NMAKE in such way that I can use those variables (Macro's) to fill in the VERSIONINFO-resource: the file + product version entires. This structure is already moved to .RC2-file so its in our control. When manually define them in a header-file and include this in RC2-file (as mentioned in MSDN: Q237870) this works. But... I want to pass this info via batch-file (NMAKE), iso calling a script which modifies a headerfile. Anyone suggestions? Thanks in advance, EiSl

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups