News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Getting the exectuable's file name [solved]

Started by stardust, March 14, 2007, 02:51:58 PM

Previous topic - Next topic

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, ...
Own SVN builds (quite new) • SuSE Linux 10.0 • Linux kernel 2.6.13-15-default
gcc 4.0.2 (20050901)
wxGTK-2.6.1.0-4 • KDE 3.4.2b • gtk2 2.8.3-4

stardust

I did it this way:


wxString exeFileName = _("${TARGET_OUTPUT_DIR}${TARGET_OUTPUT_FILE}");
Manager::Get()->GetMacrosManager()->ReplaceEnvVars (exeFileName);
Own SVN builds (quite new) • SuSE Linux 10.0 • Linux kernel 2.6.13-15-default
gcc 4.0.2 (20050901)
wxGTK-2.6.1.0-4 • KDE 3.4.2b • gtk2 2.8.3-4