Commit graph

62 commits

Author SHA1 Message Date
7266c24896 Rewrite the src SConscript 2015-10-17 00:24:54 -07:00
8a00e0a00d Program: name instead of program argument 2015-10-17 00:24:38 -07:00
67ab71ee8d Use LOCAL_LIBS instead of LIBS -- fewer conflicts 2015-10-17 00:24:19 -07:00
26eeb0874e Remove global do_sconscript function 2015-10-17 00:15:20 -07:00
e1c4e0c4b7 Add program and sconscript tools 2015-10-17 00:13:49 -07:00
bd7a79c9e1 Move more things to the lib tool 2015-10-17 00:13:11 -07:00
e0f3f0a2b4 Run all tests as part of the test target 2015-10-16 23:51:14 -07:00
c9e28a2bff Move lib environment methods to the lib tool 2015-10-16 23:50:48 -07:00
9031c61ad7 Fix color diagnostics stuff 2015-10-16 23:50:07 -07:00
de2d8602e1 Remove test directory 2015-10-16 23:14:56 -07: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
10b650c9a4 Make the defines right 2015-10-10 23:07:32 -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
6087354bc8 out_dir for do_sconscript is optional 2015-10-03 10:49:47 -07:00
1ee16a1747 Merge remote-tracking branch 'refs/remotes/origin/master' 2015-10-03 10:43:23 -07:00
164d2944f6 Revamp how libraries are done 2015-10-03 10:43:18 -07:00
b745019f39 Fix up how CC, CXX, and LINK are set in environments 2015-10-03 10:42:25 -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
1fb32c204d WIP 2015-09-25 16:57:51 -07:00
Eryn Wells
53897b2ed3 WIP osxapp bundle tool 2015-09-24 16:48:49 -07:00
Eryn Wells
2f1c86a793 Move environment set up to site_scons 2015-09-22 14:44:30 -07:00
b9a582caf4 Basic test runner 2015-09-17 19:26:59 -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
491972b6c2 Merge branch 'develop' 2014-07-13 07:42:08 -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
301a7fa525 Fixing up gtest to work with scons (better!) 2014-02-28 17:40:32 -08:00
47ca68760a Add test SConscript 2014-02-28 17:40:32 -08:00
c9c1ba5972 Add SConscript for gtest 2014-02-28 17:40:32 -08:00
7e7960ce72 Update gtest-all.cc to find src files 2014-02-28 17:40:32 -08:00
083aa869d5 Move src files to root of gtest 2014-02-28 17:40:32 -08:00
fe0ebd6cff Remove the cruft 2014-02-28 17:40:32 -08:00
0b321237b6 Add base gtest distribution 1.7.0 2014-02-28 17:40:31 -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