View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-28-2014 , 17:02   Re: SourceMod 1.5.3 Released
#27

So, what's the build syntax for ambuild2?

With ambuild1, I'd do this:

Code:
mkdir build
cd build
python ..\configure.py --no-mysql
python build.py
(switching python for python3 and \ for / on Linux)
However, configure.py no longer seems to generate a build.py... just a pdblog.txt and an .ambuild2 directory. This is true on both Ubuntu Linux 12.04 64-bit and Windows 7 64-bit (in a VC++ command prompt).

The exact output for the two are these:

Windows:
Code:
C:\Projects\SourceMod\dev\sourcemod-1.5\build>python ..\configure.py --no-mysql
Checking CC compiler (vendor test msvc)... ['cl', 'test.c', '-o', 'test.exe', '-nologo', '-showIncludes']
found msvc version 1600
Checking CXX compiler (vendor test msvc)... ['cl', 'test.cpp', '-o', 'testp.exe', '-nologo', '-showIncludes']
found msvc version 1600
Linux:
Code:
tf2@powerlord:~/dev/sourcemod-1.5/build$ python3 ../configure.py --no-mysql
Checking CC compiler (vendor test gcc)... ['cc', 'test.c', '-o', 'test']
found gcc version 4.6
Checking CXX compiler (vendor test gcc)... ['c++', 'test.cpp', '-o', 'testp']
found gcc version 4.6
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-28-2014 at 17:05.
Powerlord is offline