This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

The Windows Compile Batch File


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-09-2004 , 14:44  
Reply With Quote #1

Is that new compiler included in 0.1?
Because my batch file spits out errors..
Quote:
Small compiler 2.4 Copyright (c) 1997-2003, ITB CompuPhase

teams2.sma(29) : fatal error 100: cannot read from file: "ns2amx"

Compilation aborted.
1 Error.
compiled\sqladmin.amx
1 file(s) copied.
Press any key to continue . . .
So now the batch file is 2 lines w/o comments:
Code:
for %%i in (*.sma) do sc %%i -o..\plugins\%%i 
pause
Much simpler

Whats the -d0 do to the small compiler?

You do *NOT* need the $(FileName) -o..\plugins\$(FileTitle).amx , the small compiler is renaming them by itself, so you just need $(FileName) -o..\plugins\$(FileTitle)

Edit: I have a suggestion about the sma files that are the defualt ones, move them to a seperate folder - like defualt, so they are not compiled with the batch file every time you run it
devicenull is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode