Code::Blocks Forums
User forums => Help => Topic started by: mattn2 on March 22, 2008, 06:02:09 pm
-
Hi,
i'm searching for a way to execute msgfmt.exe or any other binary from the toolchains dir. it would be nice if our users could compile the po files from within codeblocks. Is there a way to use the defined toolchain dir to execute msgfmt.exe (without modifing $PATH and so on) - some post-script like $(TOOLCHAIN_DIR)/bin/msgfmt.exe pofile.po
-
some post-script like $(TOOLCHAIN_DIR)/bin/msgfmt.exe pofile.po
Did you try the pre/post build steps within the project / target options? You can place command in there or just call a script / batch file.
-
yes, that's what i plan to do - but i have to call a batch file that wants the msgfmt.exe path as parameter. That's why i would like to call something like
batch.bat $(TOOLCHAIN_DIR)/bin/msgfmt.exe
but i still haven't found any working variable for this