[Dart] Writing tests for a compiled library DLL without using scripting, using with Dart/CMake

Bill Hoffman bill.hoffman at kitware.com
Mon, 09 Jul 2001 14:37:12 -0400


It is quite easy in cmake to create test executables.
See here:
http://public.kitware.com/CMake/HTML/Examples.html

Basically, you use the cmake commands: ADD_EXECUTABLE  and ADD_TEST

CMake can build the dll and the executable in the same cmakelist.txt file.

-Bill

At 12:18 PM 7/9/2001 -0500, ebmiddlecamp at imation.com wrote:
>Hi all,
>
>I was wondering if you might have any insight into the best way to write
>tests for code compiled into a library DLL. We don't (as of yet) have
>bindings to any scripting languages from the library DLL, so I'm assuming
>that the tests would have to be small C/C++ programs which link to the DLL.
>Would each of these test programs require its own project, and its own
>build command? Is there a good way to manage these dependencies so that the
>main project automatically builds the test executables?
>
>Eric Middlecamp
>Imation Corp
>
>
>_______________________________________________
>Dart mailing list
>Dart at public.kitware.com
>http://public.kitware.com/mailman/listinfo/dart