c669ad98f1
Doc comment for SConstruct
2015-12-05 09:52:52 -08:00
c56cc557f8
Redo the _whooollleee_ build system
...
Following the tutorials on http://www.ostricher.com/tag/scons/ , I rebuilt the
build system so that SConscript files are *much* easier to write.
2015-10-16 23:12:39 -07:00
d78abd911c
gtest color for autorun tests
2015-10-03 19:40:53 -07:00
a472d5aae5
Return and run tests after building
2015-10-03 19:30:44 -07:00
164d2944f6
Revamp how libraries are done
2015-10-03 10:43:18 -07:00
b1f11e9732
env['NAME'] instead of env['_name']
2015-10-03 10:41:15 -07:00
a408005eb1
Add same directory incldues
2015-10-03 10:40:07 -07:00
dcad550500
Move do_sconscript to site_init
2015-10-03 10:39:03 -07:00
857516b6ed
Add SRC_DIR to CPPPATH
2015-10-03 10:37:23 -07:00
8c83b6aa3b
Move Scons arguments up
2015-10-03 10:36:17 -07:00
Eryn Wells
2f1c86a793
Move environment set up to site_scons
2015-09-22 14:44:30 -07:00
a0edcab26d
Comment about swapping env and build_env in do_sconscript()
2014-07-13 09:22:53 -07:00
9b00e03b2d
Get rid of broken check for lib dir existence
2014-07-13 09:21:11 -07:00
882f5614ae
Add build_env (as env) to sconscript environment
2014-07-13 09:12:08 -07:00
2b87d5add6
Use -O3 for production
2014-07-13 09:10:41 -07:00
a2dea2a35f
Add beta environment -- debug, with optimization
2014-07-13 07:42:00 -07:00
fb0f090892
Add succinct build commands, but don't use 'em yet
2014-07-04 11:09:39 -07:00
fea154a058
So much clean up...
...
Brought in the SConscript from Late Fish, which is where a lot of these changes
were made. Cleaned up a bunch of stuff. Moved repeated code to functions.
Implemented dynamically building libraries in lib/.
2014-07-04 10:55:34 -07:00
98e1fdd4fb
Add test environment
2014-02-28 17:40:49 -08:00
eded4652a7
Redo environments, just a bit...
2014-02-28 17:39:41 -08:00
ccde6a29a1
Add color diagnostics for clang
2014-02-27 22:20:29 -08:00
ff1440b6d6
Add "Shared" COMSTR variants
2014-02-27 21:57:20 -08:00
1a37170b9a
Clean up env creation
2014-01-31 08:42:41 -08:00
b40e4b07d9
Clean build directories -- still doesn't clean build/ though
2014-01-31 08:34:11 -08:00
9540bdd26e
Build only the given mode
2014-01-31 08:27:37 -08:00
d4cf547683
Clean up set_toolchain_binary
2014-01-30 21:01:20 -08:00
4ab61d591a
Fix syntax error in set_compiler
2014-01-30 20:47:24 -08:00
0a5db99852
Add linker override
2014-01-30 20:43:09 -08:00
08880e87ac
More tweaks for setting default compilers
2014-01-30 20:39:56 -08:00
c76f986a86
Add definable overrides for C/C++ compilers and the assembler; add override for CFLAGS
2014-01-30 20:36:38 -08:00
60d0112326
Few more tweaks
2014-01-30 15:42:25 -08:00
ab85d0cd32
Fixing up SConstruct
2014-01-30 15:09:28 -08:00
104fe40661
Add base SConstruct
2014-01-30 14:08:11 -08:00