[DEV] squirrel build corectly
This commit is contained in:
parent
21b01e76b2
commit
50ec70be9e
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
*~
|
||||
*.swp
|
||||
*.old
|
||||
*.bck
|
||||
*.pyc
|
||||
tags
|
||||
*.7z
|
||||
*.dmg
|
||||
*.gz
|
||||
*.iso
|
||||
*.jar
|
||||
*.rar
|
||||
*.tar
|
||||
*.zip
|
||||
*.log
|
||||
*.sql
|
||||
*.sqlite
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "squirrel"]
|
||||
path = squirrel
|
||||
url = https://github.com/generic-library/squirrel.git
|
59
lutin_squirrel-core.py
Normal file
59
lutin_squirrel-core.py
Normal file
@ -0,0 +1,59 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "squirrel script interpreter"
|
||||
|
||||
def get_licence():
|
||||
return "MIT"
|
||||
|
||||
def get_compagny_type():
|
||||
return "org"
|
||||
|
||||
def get_compagny_name():
|
||||
return "squirrel"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Alberto Demichelis <albertodemichelis@hotmail.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1]
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'squirrel/squirrel/sqmem.cpp',
|
||||
'squirrel/squirrel/sqbaselib.cpp',
|
||||
'squirrel/squirrel/sqapi.cpp',
|
||||
'squirrel/squirrel/sqlexer.cpp',
|
||||
'squirrel/squirrel/sqclass.cpp',
|
||||
'squirrel/squirrel/sqvm.cpp',
|
||||
'squirrel/squirrel/sqtable.cpp',
|
||||
'squirrel/squirrel/sqstate.cpp',
|
||||
'squirrel/squirrel/sqobject.cpp',
|
||||
'squirrel/squirrel/sqcompiler.cpp',
|
||||
'squirrel/squirrel/sqdebug.cpp',
|
||||
'squirrel/squirrel/sqfuncstate.cpp',
|
||||
])
|
||||
my_module.compile_version("c++", 2011)
|
||||
my_module.add_depend([
|
||||
'z',
|
||||
'm',
|
||||
'c'
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'squirrel/include/sqstdblob.h',
|
||||
'squirrel/include/sqstdio.h',
|
||||
'squirrel/include/sqconfig.h',
|
||||
'squirrel/include/squirrel.h',
|
||||
],
|
||||
destination_path="squirrel")
|
||||
#my_module.add_path("squirrel/squirrel/")
|
||||
return True
|
||||
|
||||
|
56
lutin_squirrel-std.py
Normal file
56
lutin_squirrel-std.py
Normal file
@ -0,0 +1,56 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "squirrel script interpreter (std wrapping)"
|
||||
|
||||
def get_licence():
|
||||
return "MIT"
|
||||
|
||||
def get_compagny_type():
|
||||
return "org"
|
||||
|
||||
def get_compagny_name():
|
||||
return "squirrel"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Alberto Demichelis <albertodemichelis@hotmail.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1]
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'squirrel/sqstdlib/sqstdaux.cpp',
|
||||
'squirrel/sqstdlib/sqstdstream.cpp',
|
||||
'squirrel/sqstdlib/sqstdrex.cpp',
|
||||
'squirrel/sqstdlib/sqstdsystem.cpp',
|
||||
'squirrel/sqstdlib/sqstdio.cpp',
|
||||
'squirrel/sqstdlib/sqstdblob.cpp',
|
||||
'squirrel/sqstdlib/sqstdmath.cpp',
|
||||
'squirrel/sqstdlib/sqstdstring.cpp',
|
||||
])
|
||||
my_module.compile_version("c++", 2011)
|
||||
my_module.add_depend([
|
||||
'squirrel-core'
|
||||
])
|
||||
my_module.add_header_file([
|
||||
'squirrel/include/sqstdsystem.h',
|
||||
'squirrel/include/sqstdaux.h',
|
||||
'squirrel/include/sqstdstring.h',
|
||||
'squirrel/include/sqstdblob.h',
|
||||
'squirrel/include/sqstdio.h',
|
||||
'squirrel/include/sqconfig.h',
|
||||
'squirrel/include/squirrel.h',
|
||||
'squirrel/include/sqstdmath.h',
|
||||
],
|
||||
destination_path="squirrel")
|
||||
return True
|
||||
|
||||
|
40
lutin_squirrel.py
Normal file
40
lutin_squirrel.py
Normal file
@ -0,0 +1,40 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.debug as debug
|
||||
import lutin.tools as tools
|
||||
import os
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_desc():
|
||||
return "squirrel command line interpreter"
|
||||
|
||||
def get_licence():
|
||||
return "MIT"
|
||||
|
||||
def get_compagny_type():
|
||||
return "org"
|
||||
|
||||
def get_compagny_name():
|
||||
return "squirrel"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Alberto Demichelis <albertodemichelis@hotmail.com>"]
|
||||
|
||||
def get_version():
|
||||
return [3,1]
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_src_file([
|
||||
'squirrel/sq/sq.c',
|
||||
])
|
||||
my_module.compile_version("c++", 2011)
|
||||
my_module.add_depend([
|
||||
'squirrel-core',
|
||||
'squirrel-std',
|
||||
'cxx',
|
||||
])
|
||||
return True
|
||||
|
||||
|
1
squirrel
Submodule
1
squirrel
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 02b773b4ae2ca32db51d74d75ab99e366b592d8a
|
Loading…
Reference in New Issue
Block a user