Updating to SCons 1.0.1
Current Repository Revision: 6
Changes for revision 5
As people may be using SCons for the first time, they may be checking out the latest version. I thought I should update mine before continuing development to check that my simple example code still built. It didn’t!
Somewhere between SCons versions 0.97 and 1.0.1 using AddPostAction() to add an action dependent on a build target seems to be judged a cyclic dependency. After a clean checkout, the code built fine, but on second and subsequent runs the dependency cycle error appeared. To fix this I changed the AddPostAction() call to a Command() call in the MI_BuildTestsAndExecute function in the mi_scons.py file.
Also, in previous revisions (up to 4) tests were always executed after being built (unless you passed noexec=true) to SCons. This has now been reversed, so that the tests are not executed unless you pass runtests=true to SCons. This required a small change to the SConstruct file and in the logic of the MI_BuildTestsAndExecute function.
Changes for revision 6
The change for revision 6 is simple. When I built the code I noticed a warning about no newline at the end of a file (bar2.cxx), so I put one in.
Frequent updates on Twitter
One Response to “Updating to SCons 1.0.1”
Other Links to this post
[...] updating the Fedora Linux machines from SCons 0.97 to SCons 1.0.1 (and correcting the code the update broke) I decided to do the same to the Windows [...]
Leave a Reply
You must be logged in to post a comment.