Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (17 sloc) 1.214 kb
b2cfcfc @pupeno Reorganization and better compliance with GPL.
authored
1 # -*- coding: utf-8 -*-
7d94f0b @pupeno Correctly place the utf-8 header.
authored
2 # Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
3 #
b2cfcfc @pupeno Reorganization and better compliance with GPL.
authored
4 # This file is part of scons-chicken.
18082ca @pupeno Moving towards supporting Chicken. Still a lot to do.
authored
5 #
b2cfcfc @pupeno Reorganization and better compliance with GPL.
authored
6 # scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
7 # scons-chicken is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
8 # You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18082ca @pupeno Moving towards supporting Chicken. Still a lot to do.
authored
9
10 import SCons.Tool
11
12 def generate(env):
d9abe50 @pupeno Now the chicken is supported and works except for the needed libraries. ...
authored
13 c_file, cxx_file = SCons.Tool.createCFileBuilders(env)
14
15 c_file.add_action('.scm', SCons.Action.Action("$CHICKENCOM"))
18082ca @pupeno Moving towards supporting Chicken. Still a lot to do.
authored
16
d9abe50 @pupeno Now the chicken is supported and works except for the needed libraries. ...
authored
17 env['CHICKEN'] = env.Detect('chicken') or 'chicken'
18 env['CHICKENFLAGS'] = SCons.Util.CLVar('')
19 env['CHICKENCOM'] = '$CHICKEN $SOURCE -output-file $TARGET'
31a5c85 @pupeno Cleaned up and added examples.
authored
20
21
18082ca @pupeno Moving towards supporting Chicken. Still a lot to do.
authored
22
23 def exists(env):
b2cfcfc @pupeno Reorganization and better compliance with GPL.
authored
24 return env.Detect(['chicken'])
Something went wrong with that request. Please try again.