Update AMBuildScript and renamed the generic moduleconfig.h file to avoid conflict.
This commit is contained in:
parent
c497d478ce
commit
bc856740f2
|
@ -246,6 +246,7 @@ class AMXXConfig(object):
|
||||||
cfg.defines += ['AMBUILD']
|
cfg.defines += ['AMBUILD']
|
||||||
cfg.includes += [os.path.join(builder.buildPath, 'includes')]
|
cfg.includes += [os.path.join(builder.buildPath, 'includes')]
|
||||||
cfg.includes += [os.path.join(builder.sourcePath, 'public')]
|
cfg.includes += [os.path.join(builder.sourcePath, 'public')]
|
||||||
|
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'sdk')]
|
||||||
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'amtl')]
|
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'amtl')]
|
||||||
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'memtools')]
|
cfg.includes += [os.path.join(builder.sourcePath, 'public', 'memtools')]
|
||||||
return
|
return
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
* STEP 1
|
* STEP 1
|
||||||
Download the AMXX Sdk, and place all files into your module source dir.
|
Download the AMXX Sdk, and place all files into your module source dir.
|
||||||
Don't edit amxxmodule.h or amxxmodule.cpp
|
Don't edit amxxmodule.h or amxxmodule.cpp
|
||||||
|
Rename moduleconfig.in.h to moduleconfig.h
|
||||||
|
|
||||||
Go through the moduleconfig.h file and do what it says
|
Go through the moduleconfig.h file and do what it says
|
||||||
If you want to have natives in your module, uncomment line 30
|
If you want to have natives in your module, uncomment line 30
|
||||||
( // #define FN_AMXX_ATTACH OnAmxxAttach )
|
( // #define FN_AMXX_ATTACH OnAmxxAttach )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user