[CMake] CTest with built libraries

Karthik Krishnan karthik.krishnan at kitware.com
Fri Jan 11 12:04:19 EST 2008


Sylvain:

You could add the PATH in ctest environment within your ctest script.

SET (CTEST_ENVIRONMENT
  "PATH=.....c:/WINDOWS/system32\;C:/MyDllPath.........")

HTH
--
karthik

On 1/11/08, Sylvain Jaume <sylvainjaume at gmail.com> wrote:
>
> Hello,
>
> I build some shared libraries and need to test an executable that uses
> these libraries.
> The path should point to those libraries.
> How can I set the path variable with ctest?
>
> Regards,
> Sylvain
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080111/ae6789ed/attachment.html


More information about the CMake mailing list