News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

cvtres environment variable

Started by TouEnMasm, August 14, 2015, 02:46:07 AM

Previous topic - Next topic

TouEnMasm

Hello,
I search if cvtres.exe accept an environment variable like:
set CVTRES=/MACHINE:X64
I don't find this in MSDN

Fa is a musical note to play with CL

rrr314159

the latest cvtres (comes with VS2013 I think) has an option /machine:x64
I am NaN ;)

TouEnMasm


I know this one,but i need to pass it by an environment variable if possible.

Fa is a musical note to play with CL

jj2007

set $cvtres=/machine:x64

cvtres whatever %$cvtres%

TouEnMasm

Quoteset $cvtres=/machine:x64
Create a normal environment variable who is not read by cvtres as link do with LINK

Quoteset LINK= /SUBSYSTEM:WINDOWS

Link.exe /DEBUG /debugtype:cv /OUT:%FILE%.exe *.obj
There is no need to add %LINK% in the command line
Fa is a musical note to play with CL

jj2007

Yves,
Get the source for cvtres, add this feature and recompile it :t

TouEnMasm

Good idea,I phone to Bill(It's a friend of mine) and I get the source code and more

Fa is a musical note to play with CL

jj2007

Quote from: ToutEnMasm on August 14, 2015, 05:48:13 PM
Good idea,I phone to Bill(It's a friend of mine) and I get the source code and more

Yep, that's the right spirit, Yves :t

(in case Bill is too busy, you can still use cvtres whatever %$cvtres% as a workaround)