I'm using Notepad++ for write my SA:MP server system, but i have a issue trying to organize my folders: I want to put my compiled files (.amx - like a resulting .exe for non-Pawn devs) in a separated folder called bin
, with the same subfolder structure than the sources folder (src
).
For clarify, the desired folder structure is this:
Root folder
├── src
│ ├── filterscripts
│ │ ├── file1.pwn
│ │ └── file2.pwn
│ └── gamemodes
│ └── gm_main.pwn
├── bin
│ ├── filterscripts
│ │ ├── file1.amx
│ │ └── file2.amx
│ └── gamemodes
│ └── gm_main.amx
What i want is when i compile a .pwn file, the resulting .amx should go to the equivalent original subfolder but in bin
.
My current execute script is this:
NPP_SAVE
cd $(CURRENT_DIRECTORY)
"C:\Pawn\bin\samp\pawncc.exe" "$(FILE_NAME)" -; -(
Is possible to do this only using NppExec?