Intermediate output: Other placeholdes like Config/Platform?

This is the forum for general discussion.

Moderator: 2ffat

Post Reply
aekeller
Posts: 7
Joined: Tue Jan 29, 2013 4:58 am

Intermediate output: Other placeholdes like Config/Platform?

Post by aekeller »

Are there any other placeholders I can use in the option "Intermediate output" like in ".\$(Platform)\$(Config)\"

I'm interested in the outputname, however i tried $(OUTPUTNAME) already.

I have about 50 projects and some of them do use the same cpps. The obj's might be different for some as there are ifdef's in the cpps. All the projects are including a optset where I want to write a generic setting for the intermediate output: Something like: .\$(OUTPUTNAME)\$(Platform)\$(Config)

Did not find anything in the web and in the bcb-docu.

Btw: I am using XE3 (c++ builder)
aekeller
Posts: 7
Joined: Tue Jan 29, 2013 4:58 am

Re: Intermediate output: Other placeholdes like Config/Platf

Post by aekeller »

Am I the only one with this issue/problem? How do others solve it?
User avatar
2ffat
Forum Mod
Forum Mod
Posts: 449
Joined: Wed Jun 23, 2004 7:07 am
Location: South Hill, VA
Contact:

Re: Intermediate output: Other placeholdes like Config/Platf

Post by 2ffat »

I must admit, I've never thought about it much. I've always use absolute values. Are they related to the system's variables, I wonder. If you create a variable at the command prompt via SET, I wonder if you can access that through the placeholders. If I get time, I may give it a try.
James P. Cottingham

Look at me still talking
when there is science to do.
aekeller
Posts: 7
Joined: Tue Jan 29, 2013 4:58 am

Re: Intermediate output: Other placeholdes like Config/Platf

Post by aekeller »

I found a solution (through http://www.c-plusplus.de/forum/viewtopi ... 28#2414828):

In "Tools"|"Options..."|"Environment Options" in field "Compiling" put verbosity temporarly to "Diagnostic". Then you should see in the output-pane a list of MSBuild-Variables. For me $(MSBuildProjectName) is the suitable.
User avatar
2ffat
Forum Mod
Forum Mod
Posts: 449
Joined: Wed Jun 23, 2004 7:07 am
Location: South Hill, VA
Contact:

Re: Intermediate output: Other placeholdes like Config/Platf

Post by 2ffat »

Good to know as I can't read German.
James P. Cottingham

Look at me still talking
when there is science to do.
Post Reply