Questions tagged [scons]

SCons is a cross platform, open source build tool and an alternative to the classic "Make". It works based on a declarative description of a build, using the Python programming language.

SCONS

SCons is a cross-platform, open source build tool and an alternative to the classic "Make". It works basing on a declarative description of a build, using the Python programming language. This gives SCons a great deal of flexibility and power, for example: its capabilities can be easily extended with custom builders and emitters.

1293 questions
0
votes
1 answer

Can I use SCons aliasing for choosing SConscripts to run?

I'm using SCons to build a very large project, with many buildable sub-projects. I can easily use keyword commands like scons group=ai to build the AI sub-projects with if statements (choosing the right SConscripts based on the keyword command), but…
Darkhydro
  • 1,992
  • 4
  • 24
  • 43
0
votes
1 answer

Access Denied error while using Sconsolidator with Cygwin in Eclipse CDT

I am getting a "Access Denied" error while building my program in Eclipse CDT (Juno) targeting cygwin gcc. Here is the steps I followed. Installed Python (2.7) Installed Scons Installed SConsolidator in eclipse CDT (latest one) Create a new project…
Anindya Chatterjee
  • 5,824
  • 13
  • 58
  • 82
0
votes
4 answers

python/scons help: maintaining lists of source files + object files

I know next to nothing about Python and I'm using scons. (if you're reading this and know Python but not scons, you can probably help me!) Could someone help me out and explain how I could have a variable that contains two lists? I'm not sure of the…
Jason S
  • 184,598
  • 164
  • 608
  • 970
0
votes
1 answer

Reading out version of cc1plus (SCons script-based)

Actually I'm trying to read out the version of my cc1plus executable in windows. This is a rather simple job: cc1plus -version I need this for a scons script (Tool), to integrate an ARM cross compiler. Because of that I directly call cc1plus…
ferraith
  • 899
  • 1
  • 8
  • 19
0
votes
1 answer

Everything that happens inside an environment depends on a specific target -- is that possible?

Let's say I have two SConscripts: SConstruct SConscript a SConscript b SConscript a generates a pkg-config file (for something foreign which has none). I have an alias for this (substitution, installing etc.), pkg_alias. SConscript b invokes…
wal-o-mat
  • 7,158
  • 7
  • 32
  • 41
0
votes
1 answer

How do I copy files from project directory to outside project directory?

Scons Copy builder doesn't do anything when the path I want to copy to points outside the project directory. Is there any way to get it to actually do it? Below is more or less the test case: p4_dir = '../../../documents' def prefix_dir(files,…
user797257
0
votes
1 answer

scons visual studio express 2012 build not work

I just look at documentation - scons simple example and it does not work for me. First file: main.cpp #include int main() { std::cout << "Hello World" << std::endl; return 0; } Second file: SCons…
leanid.chaika
  • 2,143
  • 2
  • 27
  • 30
0
votes
1 answer

Modifying the default value for a multiple variable from the command-line with Scons?

How do I modify the defaults from the command-line for this multiple option variable: options = Variables() options.Add( "FLAGS", "Compiler Flags.", ["-Wall", "-Werror", "-O2"] ) This fails to do the right thing: scons…
Dan
  • 33,953
  • 24
  • 61
  • 87
0
votes
1 answer

Installing scons in macosx

I have downloaded latest scons-local and tried to install it using cmd sudo python scons.py install But I get error scons: *** No SConstruct file found. File "/Users/Krupa/wrtc/scons-local-2.3.0/scons-local-2.3.0/SCons/Script/Main.py", line 905,…
Saraswati
  • 1,516
  • 1
  • 14
  • 21
0
votes
1 answer

compiler licensing issue in scons

Am using scons with renesas compiler. i am able to compile and link my project. But while linking i am getting following message: "Software license problem:Internal error in licensing or accessing feature UNKNOWN" even though i have a trial license…
Srinivas Reddy
  • 311
  • 5
  • 13
0
votes
0 answers

In scons, how to specify path of the target?

I'm new to scons. I was trying to specify the path of the target. I don't want the executable to be generated in the same folder, in which the SConstruct file resides. I tried the following: (Suppose the SConstruct file resides in some folder…
Neha Karanjkar
  • 3,390
  • 2
  • 29
  • 48
0
votes
1 answer

SCons autoconf tests from xcode

I am trying to launch scons from within xcode 4 in order to build an external (i.e. not originally created in xcode) c++ project. I have created a new project with an external build system as advised in the documentation. Everything works except the…
mvc
  • 653
  • 1
  • 5
  • 9
0
votes
2 answers

Scons - How to specify VS project's additional includes using MSVSProject builder

Is it possible to get scons MSVSProject builder to take a list of additional include directories for the project file to be generated? I have a lot of 3rd party includes that need to be there. Also, how do I change the configuration Type from a…
drwbns
  • 89
  • 10
0
votes
1 answer

Scons Multi-Directory copying/zipping

Problem: I have 2 source directories, one in the "current" dir and one in some other directory" 1: C:/somedir/dir_a/[win32, win64]/[tests, documentation, a, b] And 2: D:/projects/project_a/api/[win32, win64]/[tests, a, b, c] sconstruct @…
Karrok
  • 115
  • 1
  • 4
  • 13
0
votes
1 answer

How to run an external script in SCons configure

I have a script (Python) that check if I have the right modules installed and if they are up to date -- at least a certain version. I want to run this script in the scons Configure phase. I tried something like: print 'Configuring... ' conf =…
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156