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

Getting the exectuable's file name [solved]

(1/1)

stardust:
Hi,

how can I get the executable's file name?

* Get the file name resp.absolute path to the exe?
* Finding out if the exe is up to date/outdated/not there at all?
* The file name must respect the actual settings of the project, build target, ...

stardust:
I did it this way:


--- Code: ---wxString exeFileName = _("${TARGET_OUTPUT_DIR}${TARGET_OUTPUT_FILE}");
Manager::Get()->GetMacrosManager()->ReplaceEnvVars (exeFileName);

--- End code ---

Navigation

[0] Message Index

Go to full version