Commit Graph

22 Commits

Author SHA1 Message Date
Gaëtan Lehmann
f74a4ff17a use the CXXFLAGS and LINKFLAGS environment variable in scons
this allows homebrew to use its own flags during the build
2014-10-21 11:43:53 +02:00
Baptiste Lepilleur
e1b26455e7 - added support for compilation using Microsoft Visual Studio 2008 2010-03-13 10:59:50 +00:00
Baptiste Lepilleur
0a899589c2 - add LD_LIBRARY_PATH to propagated environment variables as it is required for some compiler installations. 2010-03-13 07:55:46 +00:00
Baptiste Lepilleur
57ee0e3b37 - Documentation generation is no longer handled by SCons. The script doxybuild.py is used to generate the documentation on demand.
- Added file 'version' that contains jsoncpp version number. It is used by both SConstruct and doxybuild.py.
- Updated README.txt with documentation build instruction, and instructions to add a test case.
2010-02-22 04:16:10 +00:00
Baptiste Lepilleur
7dec64f57e Moved jsontestrunner data from test/ to test/data. 2009-11-21 18:20:25 +00:00
Baptiste Lepilleur
45c499d310 - added mini unit testing framework
- added unit tests for Value.isXYZ() and iteration over Value members to compute size
2009-11-21 18:07:09 +00:00
Baptiste Lepilleur
43e25c3b09 Fixed documentation example. Bounced version number. 2009-11-19 19:03:14 +00:00
Baptiste Lepilleur
86ccb76138 - fixed build issue on Solaris (wrong compilation flags for multi-threading)
- fixed build issue on Linux redhat 3: python does not has tarfile module
2009-11-19 13:05:54 +00:00
Baptiste Lepilleur
bf95d0f619 - fixed build issue on AIX. Build both shared and static library is now only activated on Linux. Building static library on other platforms. 2009-11-19 12:19:07 +00:00
Baptiste Lepilleur
4e19f180b8 - fixed build issue with mingw (bug 2834969) 2009-11-19 12:07:58 +00:00
Baptiste Lepilleur
64e07e54ed - fixed SCons build on Windows: only build static library (support static/dynamic at the same time requires significant changes)
- renamed SCons glob tool to globtool to avoid clash with python glob module. This prevented running the tests.
- check target now works with SCons 1.x
2009-11-18 21:27:06 +00:00
Christopher Dunn
060c45a38d Patch from Sebastien Vincent 2009-05-24 22:22:08 +00:00
Christopher Dunn
8f5ddcfa8d Added cstring for memcpy(), as suggested by sebastien.vincent@turnserver.org . This allows gcc-4 to compile. Removed doxygen from SConstruct, since it is now broken; I have been unable to get it to work with either scons 0.97 or scons 2.1; hopefully someone else can get that working again. 2009-05-11 20:04:10 +00:00
Baptiste Lepilleur
32927b0b22 Sketched out some idea to make the build system more reusable across projects. 2008-01-21 08:37:06 +00:00
Baptiste Lepilleur
f66d370741 - rewrote doxygen documentation generation integration with Scons (still need some clean-up): list of sources is explicitly passed to a doxyfile builder which is used as input of a doxygen builder. Hence, the doxyfile depends on all the sources.
- documentation is now correctly generated once when source are changed on the first scons run.
2008-01-20 16:49:53 +00:00
Christopher Dunn
452ccb3c70 Unneeded comment. 2007-06-14 22:07:15 +00:00
Christopher Dunn
f1a49467cf Updated platform on linux-gcc to include compiler version (necessary for multiple targets built in same directory, and not a bad idea for other builds). 2007-06-14 20:59:51 +00:00
Christopher Dunn
d2fdeb3a9a LD_LIBRARY_PATH needed for linux build tests. (Really, passing -Wl,-rpath to the linker would be better, but scons is not good about automating that.) 2007-06-14 19:32:40 +00:00
Christopher Dunn
e0d7224804 Added svn:eol-style native 2007-06-14 17:58:59 +00:00
Christopher Dunn
a44cffb342 Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not). 2007-05-09 19:35:15 +00:00
Christopher Dunn
2370789d67 Renamed buildLibary to buildLibrary and added SharedLibrary rule. 2007-03-23 08:57:57 +00:00
Baptiste Lepilleur
4cd8bae331 - reorganized repository to match standard layout 2007-03-15 22:11:38 +00:00