View Single Post
Timocop
AlliedModders Donor
Join Date: Mar 2013
Location: Germany
Old 12-20-2020 , 14:26   Re: [RELEASE|SOURCE] BasicPawn - SourcePawn Editor
Reply With Quote #84

Quote:
Originally Posted by Dragokas View Post
1. I still need to adjust it to be able to compile smx next to the source file (same directory as my sp file).
How can I do that?

When I add ./ in Output directory it compile smx in BasicPawn own working directory.
The output path only works with absolute paths. Either just choose the "scripting" folder for the output path or use post-build events command line.
Create a temporary drop off area:


And to move the binary use this post-build event command line:
PHP Code:
if "%bp_testing%"=="false" (
move /"%bp_conf_output%\%bp_source_filename%.smx"  "%bp_source_directory%\"
echo Binary moved to: %bp_source_directory%\%bp_source_filename%.smx

Quote:
Originally Posted by Dragokas View Post
Button "( ? )" seems not working for me.
Don't click the "( ? )", mouse hover it to show tooltips.
__________________

Last edited by Timocop; 12-20-2020 at 14:27.
Timocop is offline