[sword-devel] cmake python

cricketc at gmail.com cricketc at gmail.com
Mon Dec 17 19:56:22 MST 2012

On Mon, Dec 17, 2012 at 9:40 PM,  <cricketc at gmail.com> wrote:
> On Mon, Dec 17, 2012 at 9:17 AM, Greg Hellings <greg.hellings at gmail.com> wrote:
>> What does it seem to be doing improperly? That's a very broad
>> statement. I pretty much don't build the tests because they aren't
>> really kept up with and are intended to be a thing for people actively
>> developing on the engine, not for packagers, users, or client app
>> writers - which is the main hat I wear.
> I just don't see the tests being compiled by cmake. With the old
> system, in the tests directory, the tests like casttest, ciphertest,
> keytest, ... are automatically compiled, so the executables are right
> there ready to run when  code is changed. I don't see the test
> executables being created by cmake.

Here's a small diff:
+       ADD_EXECUTABLE(${TEST} ${TEST}.cpp)

Not sure what the "EXCLUDE_FROM_ALL" was for, but if I take it out, at
least some of the test executables get built. (By the way, I'm not too
worried about the tests being run automatically, although it'd be nice
to be able to do that.) If the test binaries get created, and the .sh
and .good files from tests/testsuite get copied into  the build
directory, then the tests can be run as needed (just as shell


More information about the sword-devel mailing list