Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Check 'Variable expansion'

<< < (2/3) > >>

LETARTARE:
1- Choose a variable in a list of expansion variables,
2- Show the contents (to check if it's the right variable)

oBFusCATed:
I still don't understand. What do you mean by "right variable"?

LETARTARE:
the variable that corresponds to my need

oBFusCATed:
I still have no idea what you're trying to achieve.  And you aren't even trying to explain. :shrug:

BlueHazzard:
Probably the easiest way is to create a squirrel script, that expands every variable. Call this script before your need with the [[]] variable expansion...
The problem is, that variables have different values in different steps for example in compiling, so you would need a UI where you can set the build state....
So the easiest way is to create a squirrel script
Create a script that logs all your requested variables. Something like this:

--- Code: ---Log(_T("$(PROJECT_FILENAME) = " +  ReplaceMacros(_T("$(PROJECT_FILENAME)")))
--- End code ---

and call the script with

--- Code: ---[[Require(_T("Path to test script file"))]]
--- End code ---
on every place you want to know the variables...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version